nginx.conf
This commit is contained in:
parent
f7d2b92957
commit
18e35ec3f6
@ -4,8 +4,7 @@ upstream gunicorn {
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name _;
|
||||
return 301 https://$host$request_uri;
|
||||
server_name cybercode.pro;
|
||||
location / {
|
||||
proxy_pass http://gunicorn;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user