From e9c287f2a8dfc477f42efbae69a667b341f21982 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 2 Nov 2025 18:37:21 +0900 Subject: feat(nuldoc): prepare site migration --- services/nuldoc/nginx.conf | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'services/nuldoc/nginx.conf') diff --git a/services/nuldoc/nginx.conf b/services/nuldoc/nginx.conf index eb1d913..311f600 100644 --- a/services/nuldoc/nginx.conf +++ b/services/nuldoc/nginx.conf @@ -1,9 +1,17 @@ +map $http_x_forwarded_host $docroot_path { + hostnames; + default /public/_; + about.* /public/about; + blog.* /public/blog; + slides.* /public/slides; +} + server { - listen 8001 default; - listen [::]:8001; + listen 80 default; + listen [::]:80; location / { - root /public; + root $docroot_path; location ~* ^.*/atom\.xml$ { types { } -- cgit v1.2.3-70-g09d2