From 0224f92134bc950c23c9bff2b54b7611e39752b9 Mon Sep 17 00:00:00 2001 From: Arthur Lu <root@tronnet.net> Date: Sat, 29 Mar 2025 17:26:13 -0700 Subject: [PATCH] fix office & webdav, fix ports on wiki and status --- http/office.conf | 11 ++++++++--- http/status.conf | 2 +- http/wiki.conf | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/http/office.conf b/http/office.conf index 865a4db..7f617d9 100644 --- a/http/office.conf +++ b/http/office.conf @@ -3,7 +3,12 @@ server { server_name office.tronnet.net; include snippets/ssl-acme.conf; location / { - proxy_pass http://office.dmz; - proxy_redirect default; + proxy_pass http://office.dmz; + proxy_redirect default; + proxy_set_header Host $host; } -} + location /webdav { + proxy_pass http://office.dmz; + proxy_redirect default; + } +} \ No newline at end of file diff --git a/http/status.conf b/http/status.conf index 3f7fce5..a3bb57d 100644 --- a/http/status.conf +++ b/http/status.conf @@ -5,7 +5,7 @@ server { include snippets/proxy-errors.conf; include snippets/error-pages.conf; location / { - proxy_pass http://sites.dmz:8080; + proxy_pass http://sites.dmz:3001; proxy_redirect default; } } diff --git a/http/wiki.conf b/http/wiki.conf index e0e965e..c6cb683 100644 --- a/http/wiki.conf +++ b/http/wiki.conf @@ -5,7 +5,7 @@ server { include snippets/proxy-errors.conf; include snippets/error-pages.conf; location / { - proxy_pass http://sites.dmz:8081; + proxy_pass http://sites.dmz:3000; proxy_redirect default; } }