From 60ff25d6745cce8b404993c69b13b765ce0de976 Mon Sep 17 00:00:00 2001 From: Raine Date: Sat, 25 Nov 2023 15:55:01 +0100 Subject: [PATCH] fix: nginx stuffs --- .../custom/nginx/conf.d/takahe.conf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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;