Skip to content

Commit 631102c

Browse files
committed
Add additional location match for static assets
1 parent 6ba4ab0 commit 631102c

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)