You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
360 B
25 lines
360 B
server {
|
|
listen 80 default_server;
|
|
|
|
root /app/web/build;
|
|
|
|
client_max_body_size 20m;
|
|
|
|
location /static/ {
|
|
alias /app/static/;
|
|
expires -1;
|
|
}
|
|
|
|
location /media/ {
|
|
alias /app/media/;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri @django;
|
|
}
|
|
|
|
location @django {
|
|
include uwsgi_params;
|
|
uwsgi_pass 127.0.0.1:9090;
|
|
}
|
|
}
|
|
|