extra ?

shaun savages at mozapps.com
Mon Sep 30 07:18:41 UTC 2013

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_set_header Upgrade $http_upgrade;
                 proxy_set_header Connection "upgrade";
                 proxy_http_version 1.1;
                 proxy_pass_request_headers on;
                 proxy_pass http://gofw;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.log
Type: text/x-log
Size: 9166 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20130930/01fc087b/attachment.bin>

More information about the nginx mailing list