Edgewall Software

Changes between Version 7 and Version 8 of TracNginxRecipe


Ignore:
Timestamp:
Jan 17, 2007, 5:13:33 AM (17 years ago)
Author:
joshland@…
Comment:

Updates for serving static content - to the site-specific dirs.

Legend:

Unmodified
Added
Removed
Modified
  • TracNginxRecipe

    v7 v8  
    109109Serving static files from htdocs dir ala /<site>/chrome/common aliases `http://live.trachosts.com/myproj/chrome/common` to `/var/trachosts/trac/myproj/htdocs`
    110110{{{
    111         location ~ /(.*?)/chrome/common/ {
    112                 rewrite /(.*?)/chrome/common/(.*) /$1/htdocs/$2 break;
     111        location ~ /(.*?)/chrome/site/ {
     112                rewrite /(.*?)/chrome/site/(.*) /$1/htdocs/$2 break;
    113113                root    /var/trachosts/trac;
    114114        }