mirror of https://github.com/zulip/zulip.git
Serve static content in /dist on app
(imported from commit b5850ee1f6c6663a27fee14f430f1fae7b690725)
This commit is contained in:
parent
d3dd0a805a
commit
d0a5d7f7e2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue