Skip to content

Commit 55ddd50

Browse files
authored
Merge pull request #177 from cmu-delphi/update-static-files-config
Update static file serving config in Nginx
2 parents 2fcbfe1 + e1f12c2 commit 55ddd50

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nginx/default.conf.template

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
server {
22
listen 80;
33
server_name sdnginx;
4+
5+
location ~* /static/assets(.*)$ {
6+
autoindex on;
7+
alias /staticfiles/$1;
8+
}
9+
410
location ~* /static/(.*)$ {
511
autoindex on;
612
alias /staticfiles/$1;

0 commit comments

Comments
 (0)