Split production dependecies & update production configuration
This commit is contained in:
parent
0f66c5eb9b
commit
5a73707d61
12 changed files with 68 additions and 111 deletions
|
|
@ -9,6 +9,10 @@ server {
|
|||
access_log /var/log/nginx/access_log;
|
||||
error_log /var/log/nginx/error_log;
|
||||
|
||||
location /static/ {
|
||||
root /app;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://gunicorn;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue