|
|
@ -17,6 +17,14 @@ server { |
|
|
proxy_redirect off; |
|
|
proxy_redirect off; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
location /static/ { |
|
|
|
|
|
alias /app/wsgi/static/; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
location /media/ { |
|
|
|
|
|
alias /app/wsgi/mediafiles/; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
error_page 500 502 503 504 /50x.html; |
|
|
error_page 500 502 503 504 /50x.html; |
|
|
location = /50x.html { |
|
|
location = /50x.html { |
|
|
root /usr/share/nginx/html; |
|
|
root /usr/share/nginx/html; |
|
|
|