Merge pull request #452 from jamebal/dev

build: 更新Nginx配置以使用新的根目录路径
This commit is contained in:
jmal 2025-08-05 10:31:35 +08:00 committed by GitHub
commit 70adfe8318
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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/*.conf;
}

View File

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