diff --git a/servers/kid/docker-compose.d/custom/nginx/conf.d/takahe.conf b/servers/kid/docker-compose.d/custom/nginx/conf.d/takahe.conf index 47e9b9b..af38e99 100644 --- a/servers/kid/docker-compose.d/custom/nginx/conf.d/takahe.conf +++ b/servers/kid/docker-compose.d/custom/nginx/conf.d/takahe.conf @@ -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 { listen 80; server_name takahe.ixvd.net on.ixvd.net;