August 02, 2015 11:54PM
Hi everyone.
I need to create a mirror site. And I use the server Nginx.
I was able to configure the server. And everything works fine.
But I have a problem when trying to login on my site. If a password is good I redirect to the original site ( If the password is bad I stay on my website. And I do not know how to fix it.
I need professional help.

I am using these configurations:
location / {
resolver ;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Location $host;
proxy_cookie_path / /mirorr/;
proxy_set_header Accept-Encoding "";
proxy_set_header Referer;
proxy_set_header Cookie $http_cookie;

I think that I return value Location "" to "response header". But how do I change it, I do not know. Or I'm wrong.
Subject Author Posted

Nginx proxy server

goga August 02, 2015 11:54PM

Re: Nginx proxy server

Thiago Farina August 04, 2015 06:38PM

Re: Nginx proxy server

goga August 05, 2015 10:18AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
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