webgui/share/nginx-default-server

19 lines
No EOL
378 B
Text

server {
listen 8080 default_server;
access_log /dev/stdout main;
index index.htm index.html;
root /data/WebGUI/www;
location / {
proxy_pass http://webgui-upstream;
}
location /extras/ {
add_header Cache-Control public;
expires 24h;
add_header Access-Control-Allow-Origin *;
}
location /uploads/filepump { expires max; }
}