12 lines
390 B
Django/Jinja
12 lines
390 B
Django/Jinja
location /{{name}}/static {
|
|
alias {{source_location}}dist/static;
|
|
}
|
|
location /{{name}} {
|
|
proxy_pass http://unix:/run/gunicorn-{{name}}/socket:/;
|
|
#proxy_set_header Host $host;
|
|
#proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
#proxy_set_header X-Scheme $scheme;
|
|
#proxy_set_header X-Script-Name /{{name}}
|
|
}
|
|
|