You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
330 B
Nginx Configuration File
21 lines
330 B
Nginx Configuration File
3 years ago
|
upstream konova {
|
||
2 years ago
|
server localhost:8000;
|
||
3 years ago
|
}
|
||
|
|
||
|
server {
|
||
|
|
||
|
listen 80;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://konova;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_redirect off;
|
||
|
}
|
||
|
|
||
|
location /static/ {
|
||
|
alias /konova/static/;
|
||
|
}
|
||
|
|
||
|
}
|