Skip to content

Commit a556c32

Browse files
committed
Update location blocks
1 parent 15f3d30 commit a556c32

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

nginx/default.conf.template

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

0 commit comments

Comments
 (0)