Changeset 2623 for WAeUP_SysConf/nginx


Ignore:
Timestamp:
10 Nov 2007, 22:47:09 (17 years ago)
Author:
uli
Message:

Added static dir clause for uniben.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SysConf/nginx/trunk/etc/nginx/sites/uniben/uniben.conf

    r2621 r2623  
    5252        access_log      /var/log/nginx/access-staff.log main;
    5353        include         /etc/nginx/general/ssl.conf;
     54        location ~ ^/static/.*$ {
     55                root /zope/instances/srp-static/uniben;
     56        }
    5457        location / {
    5558                rewrite ^/(.*)$ /VirtualHostBase/https/uniben-staff.waeup.org:443/uniben/VirtualHostRoot/$1;
     
    129132        server_name  uniben.waeup.org *.uniben.waeup.org;
    130133        include         /etc/nginx/general/ssl.conf;
    131 #       include         /etc/nginx/general/uniben-static-ssl.conf;
     134        location ~ ^/static/.*$ {
     135                root /zope/instances/srp-static/uniben;
     136        }
    132137        location / {
    133138                rewrite ^/(.*)$ /VirtualHostBase/https/uniben.waeup.org:443/uniben/VirtualHostRoot/$1;
Note: See TracChangeset for help on using the changeset viewer.