Skip to content
Permalink
Browse files

Try serving extras via nginx.

  • Loading branch information...
perlDreamer committed Jan 8, 2012
1 parent c8da009 commit 4f3b86c9ce5ffde772777f5bba68064819d6ae82
Showing with 7 additions and 0 deletions.
  1. +7 −0 wre/var/setupfiles/nginx.conf
@@ -27,6 +27,13 @@ http {
gzip_types text/plain text/css application/json application/json-rpc application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_comp_level 9;

location /extras/ {
add_header Cache-Control public;
expires 24h;
root /data/WebGUI/www/extras;
add_header Access-Control-Allow-Origin *;
}

##Include per-server vhost configuration files.
include [% config.getRoot %]/etc/*.nginx;

0 comments on commit 4f3b86c

Please sign in to comment.
You can’t perform that action at this time.