<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Timothy,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">not sure I am answering the right
question here, but the idea of deploying files to the file system
in a production system is that requests coming in for files never
reach your smalltalk image, thus keeping load off your image.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">So what is needed is a definition for
nginx that "catches" requests to /files/ and redirect them to
files onyour filesystem, namely the path you deployed your files
to.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">I am using Apache, so I cannot say what
exactly needs to be done in nginx, <br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Here's what's in my apache conf for
this purpose:</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"> <font face="Courier New, Courier,
monospace"> Alias /files /var/www/app.kontolino<br>
ProxyPass /files !<br>
<br>
Alias /favicon.ico
/var/www/app.kontolino/OfBuchhaltungFileLibrary/favicon.ico<br>
ProxyPass /favicon.ico !<br>
<br>
Alias /robots.txt
/var/www/app.kontolino/OfBuchhaltungFileLibrary/robots.txt<br>
ProxyPass /robots.txt !<br>
</font></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">So all you need to do is to transpile
this for nginx ;-)</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">HTH</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Joachim<br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Am 21.11.18 um 08:32 schrieb
gettimothy:<br>
</div>
<blockquote type="cite"
cite="mid:167352f2526.12a0c802931023.7589636780076770199@zoho.com">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<div
style="font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;color:#00000;">
<div>After you deploy the files, does Seaside have a "pass thru"
to access those files automatically? or do I have to build one
by hand?<br>
</div>
<div><br>
</div>
<div>Here is the background/motivation.<br>
</div>
<div><br>
</div>
<div>At <a target="_blank"
href="http://menmachinesmaterials.com/SeasideDoc"
moz-do-not-send="true">http://menmachinesmaterials.com/SeasideDoc</a>
on left menu, under "apps" you will see that the
css/javascript access for 'Zurb Foundation' works and neither
work for the Twitter Bootstrap or Jquery apps.<br>
</div>
<div><br>
</div>
<div>The reason is that I use NGinx locations to tell where to
look for resources.<br>
</div>
<div><br>
</div>
<div>My SeasideDoc and Zurb File ibraries all access their files
relative to the nginx defintions. So, 'ZurbExamplesLibrary
foundation.css' will resolve to the correct path for Nginx to
handle.<br>
</div>
<div><br>
</div>
<div>The TBS and JQuery FileLibraries are 'self contained' and
the css and js is not delivered via Nginx.<br>
</div>
<div><br>
</div>
<div>I am in the process of creating an additional library for
TBS that uses my convention...but...</div>
<div><br>
</div>
<div>I just discovered the "deployFiles' method and it does do a
nice dump of the files I need...but then what?<br>
</div>
<div><br>
</div>
<div>Does Seaside standard dev practice include "switching to
another library" that automatically routes to those urls that
I am missing? <br>
</div>
<div><br>
</div>
<div>thx in advance.<br>
</div>
<div><br>
</div>
<div>t</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>