preserve url in browser with proxy_pass redirection is not working
August 25, 2021 01:52PM
Hi ,

I am having a custom domain ( say and i want to redirect to another domain page ( say The destination domain has ssl enabled so that it will be redirected to it's https version automatically. I have created nginx configuration as below :

server {

listen 80;
listen [::] 80;
location {

When i open in browser, the page from is loading but the URL ( is not preserved in browser address bar. It is showing the Any idea on how to fix this?

But the preserving url shall work if https is not enabled in

Any help would be really appreciated. Thanks in advance.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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