build: 更新Nginx配置以使用新的根目录路径

This commit is contained in:
jmal 2025-08-05 10:26:35 +08:00
parent a52db900e0
commit 7f0459a2e5
5 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
server {
listen 8080;
server_name localhost;
root /var/www/draw;
root /usr/share/nginx/html/draw;
location / {
try_files $uri $uri/ /index.html;

View File

@ -1,7 +1,7 @@
server {
listen 8082;
server_name localhost;
root /var/www/excalidraw;
root /usr/share/nginx/html/excalidraw;
client_max_body_size 100m;
location / {
try_files $uri $uri/ /index.html;

View File

@ -1,5 +1,5 @@
server {
listen 8081;
server_name localhost;
root /var/www/pdfjs;
root /usr/share/nginx/html/pdfjs;
}

View File

@ -188,4 +188,5 @@ http {
}
include servers/*;
include conf.d/*;
}

View File

@ -195,4 +195,5 @@ http {
}
include servers/*;
include conf.d/*;
}