Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Reverse Proxy for a tp-link router redirects 192.168.0.1

$
0
0
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/;
}

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>