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.
|
server {
|
|
listen 80 default_server;
|
|
|
|
root /app/web/build/;
|
|
|
|
location /static/ {
|
|
alias /app/static/;
|
|
}
|
|
|
|
location /media/ {
|
|
alias /app/media/;
|
|
}
|
|
|
|
location / {
|
|
try_files $uri @django;
|
|
}
|
|
|
|
location @django {
|
|
include uwsgi_params;
|
|
uwsgi_pass 127.0.0.1:9090;
|
|
}
|
|
}
|
|
|