I am have a problem
I am very confused. There is an extra "?" added to the end of the
rewrite. I have no idea why, I look at the logs, and is magically appears.
I want to reload the login page, but nothing happens, any ideas?
location /login/ {
if ($args) {
set $lin 1;
rewrite ^/login/login(.*)$ /auth$1;
}
alias /var/www/login/;
}
location /hzc/ws {
if ($http_cookie !~* 'hzc') {
rewrite ^/hzc(.*)$ /login/;
}
proxy_redirect off;
proxy_buffering off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-Port $remote_port;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_http_version 1.1;
proxy_pass_request_headers on;
proxy_pass http://gofw;
}
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx