Initial commit - full huishou project

This commit is contained in:
jiapengyu
2026-07-27 14:07:26 +08:00
commit 60790ad1b3
39127 changed files with 5989265 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
location = / {
alias /usr/share/nginx/html/h5/;
try_files index.html =404;
}
location / {
alias /usr/share/nginx/html/h5/;
try_files $uri $uri/ /index.html;
}
location /h5/ {
alias /usr/share/nginx/html/h5/;
try_files $uri $uri/ /h5/index.html;
}
location /admin/ {
root /usr/share/nginx/html;
try_files $uri $uri/ /admin/index.html;
}
location /api/ {
proxy_pass http://huishou-backend:4000/api/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /icons/ {
proxy_pass http://huishou-backend:4000/icons/;
}
}