September 30, 2013 03:20AM
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;

nginx mailing list
Subject Author Posted


Myla John-B22173 September 24, 2013 08:42PM

configuration of 1000's entries

sv September 27, 2013 07:24AM

Re: configuration of 1000's entries

Francis Daly September 27, 2013 01:36PM

extra ?

sv September 30, 2013 03:20AM

Re: extra ?

Maxim Dounin September 30, 2013 08:20AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 208
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready