Ignore:
Timestamp:
10 Nov 2007, 23:10:00 (17 years ago)
Author:
uli
Message:

Document static resources with nginx.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SysConf/nginx/trunk/etc/nginx/README.txt

    r2622 r2625  
    4444fceokene etc.
    4545
     46
     47Static Resources
     48****************
     49
     50Using static resources (i.e.: images, documents, etc.) speeds up
     51things a lot.
     52
     53Currently, static resources can be placed in
     54
     55           /zope/instances/srp-static/uniben/static/
     56
     57for the uniben portal and into
     58
     59           /zope/instances/srp-static/fceokene/static/
     60
     61for the fceokene portal. They are accessible via URL when the path of
     62the URL starts with `/static/`. Using such URL bypasses Zope.
     63
     64Example::
     65
     66        Put a file mypic.jpg into
     67        /zope/instances/srp-static/uniben/static/ and call
     68
     69        https://uniben.waeup.org/static/mypic.jpg
     70
     71        with your webbrowser afterwards.
     72
     73        The image will not be served by Zope but instead be delivered
     74        by nginx immediately, bypassing Zope.
     75
     76
     77
Note: See TracChangeset for help on using the changeset viewer.