Update nginx.conf

sh_branch
且听风吟 4 years ago committed by GitHub
parent 46d8a35d17
commit 6bbfcb6f05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -28,12 +28,12 @@ http {
#gzip on;
server {
root /code/DjangoBlog/collectedstatic/;
root /code/djangoblog/collectedstatic/;
listen 80;
keepalive_timeout 70;
location /static/ {
expires max;
alias /code/DjangoBlog/collectedstatic/;
alias /code/djangoblog/collectedstatic/;
}
location / {
proxy_set_header X-Real-IP $remote_addr;
@ -47,4 +47,4 @@ http {
}
}
}
}
}

Loading…
Cancel
Save