nginx\conf.d\web_ssh.conf:
server {
listen 82;
server_name localhost;
location /21899? {
rewrite ^/21899/?$ / break;
rewrite ^/21899/(.*)$ /$1 break;
proxy_pass http://192.168.11.199:21899;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_read_timeout 300s;
proxy_set_header Origin '';
proxy_set_header Host $host;
动态配置Nginx:添加与删除location,Python与Lua实现

最低0.47元/天 解锁文章
1379

被折叠的 条评论
为什么被折叠?



