location ^~/ExamSystem/ {
proxy_pass http://localhost:1001;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
sub_filter_types *;
sub_filter '/static/' '/ExamSystem/static/';
sub_filter_once off;
#expires 3d;
}```
nginx一机多应用配置
于 2022-05-13 12:04:36 首次发布