deploy file

This commit is contained in:
archer
2023-05-08 10:46:33 +08:00
parent 3ef6d3fe63
commit d807f9d097
3 changed files with 47 additions and 21 deletions

View File

@@ -54,4 +54,16 @@ http {
server_name docgpt.ahapocket.cn;
rewrite ^(.*) https://$server_name$1 permanent;
}
server {
listen 3000;
server_name 120.0.0.0;
location / {
proxy_pass http://localhost:3000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
}
}