location ^~ /znkf/ {
proxy_pass http://192.168.1.99/;
proxy_redirect off;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Fpr $proxy_add_x_forwarded_for;
set $delimeter "";
if ($is_args) {
set $delimeter "&";
}
set $args "$args${delimeter}a=1&b=2";
}
网友评论