Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Nginx configuration file for a Briefcase instance

View 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 ^()(.*)$;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.