Welcome! Log In Create A New Profile

Advanced

Reverse Proxy for a tp-link router redirects 192.168.0.1

Posted by deathmojang 
Reverse Proxy for a tp-link router redirects 192.168.0.1
January 27, 2019 08:45AM
I'm trying to transform http requests from my home router to secure my home network

i've already routed http requests for transmission server to https

I tried to do same with my AP, but it redirects to the only http://192.168.0.1/

what can i do for now?

thanks in advance for any help.

location /router {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Referer http://192.168.0.1/;

proxy_pass http://192.168.0.1;
proxy_read_timeout 90;
proxy_redirect http://192.168.0.1 https://mysite.com/router/;
}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 95
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready