public
Created

Nginx configuration file for a Briefcase instance

  • Download Gist
briefcase.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
listen 80;
server_name localhost
 
access_log /var/log/nginx/search.access.log;
error_log /var/log/nginx/search.error.log;
 
 
location /static/accounts/ {
alias /etc/webapps/briefcase/briefcase/core/accounts/static/accounts/;
expires 30d;
}
 
location /static/spreadsheet/ {
alias /etc/webapps/briefcase/briefcase/apps/spreadsheet/static/spreadsheet/;
expires 30d;
}
 
location /static/ {
alias /etc/webapps/briefcase/briefcase/core/static/;
expires 30d;
}
 
location / {
include fastcgi_params;
fastcgi_pass 127.0.0.1:8080;
fastcgi_split_path_info ^()(.*)$;
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.