Created
April 5, 2013 01:35
-
-
Save joshdk/5315941 to your computer and use it in GitHub Desktop.
Nginx configuration file for a Briefcase instance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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