From 55b3a38b1395387e3c394edd75f74fa7db754595 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Wed, 3 Sep 2025 14:59:21 +0700 Subject: [PATCH] fix deploy --- .gitignore | 3 +++ docker/nginx.conf | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 38adffa6..b0eecafc 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,6 @@ coverage *.njsproj *.sln *.sw? + +docker-compose.yaml +.dockerignore \ No newline at end of file diff --git a/docker/nginx.conf b/docker/nginx.conf index 6f61d6c7..461bc028 100644 --- a/docker/nginx.conf +++ b/docker/nginx.conf @@ -18,9 +18,12 @@ http { listen 80; server_name localhost; location / { - root /app; + return 301 /manual/; + } + location /manual/ { + alias /app/; index index.html; - try_files $uri $uri/ /index.html; + try_files $uri $uri/ /manual/index.html; } error_page 500 502 503 504 /50x.html; location = /50x.html {