test
This commit is contained in:
15
nginx.conf
15
nginx.conf
@@ -96,6 +96,21 @@ http {
|
||||
proxy_connect_timeout 75s;
|
||||
}
|
||||
|
||||
# point-strategy 路径转发到后端服务
|
||||
location /point-strategy/ {
|
||||
proxy_pass http://digital-archive-app:9081/;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection 'upgrade';
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_cache_bypass $http_upgrade;
|
||||
proxy_read_timeout 300s;
|
||||
proxy_connect_timeout 75s;
|
||||
}
|
||||
|
||||
# Vue路由支持
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
||||
Reference in New Issue
Block a user