fix: nginx stuffs
This commit is contained in:
parent
81c93a05df
commit
60ff25d674
1 changed files with 16 additions and 0 deletions
|
@ -1,3 +1,19 @@
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
server_name on.ixvd.net;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
proxy_set_header X-Forwarded-Port 443;
|
||||||
|
|
||||||
|
proxy_pass http://takahe:8000;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name takahe.ixvd.net on.ixvd.net;
|
server_name takahe.ixvd.net on.ixvd.net;
|
||||||
|
|
Loading…
Reference in a new issue