Skip to content

Commit 15f3d30

Browse files
committed
Update nginx conf
1 parent dde0923 commit 15f3d30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nginx/default.conf.template

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
server {
22
listen 80;
33
server_name sdnginx;
4+
45
location ~* /static/(.*)$ {
56
autoindex on;
67
alias /staticfiles/$1;
78
}
89

910
location / {
10-
proxy_pass http://sdwebapp:8000/;
11+
proxy_pass http://sdwebapp:8000;
1112
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
1213
proxy_set_header Host $http_host;
1314
proxy_set_header X-Real-IP $remote_addr;

0 commit comments

Comments
 (0)