Serve static content in /dist on app

(imported from commit b5850ee1f6c6663a27fee14f430f1fae7b690725)
This commit is contained in:
Luke Faraone 2013-01-15 19:06:22 -05:00
parent d3dd0a805a
commit d0a5d7f7e2
1 changed files with 6 additions and 0 deletions

View File

@ -29,5 +29,11 @@ server {
# Avoid clickjacking attacks
add_header X-Frame-Options DENY;
# Downloadable software
location /dist/ {
autoindex on;
alias /srv/www/dist/;
}
include /etc/nginx/humbug-include/app;
}