fix conf
This commit is contained in:
parent
16f98386ac
commit
dd75d1a1fc
10
nginx.conf
10
nginx.conf
@ -10,8 +10,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /var/www/html;
|
return 301 https://$host$request_uri;
|
||||||
index index.html;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -23,8 +22,11 @@ http {
|
|||||||
ssl_certificate_key /etc/letsencrypt/live/git.evil-bird.ru/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/git.evil-bird.ru/privkey.pem;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /var/www/html;
|
proxy_pass http://10.10.1.10:3000;
|
||||||
index index.html;
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user