Welcome! Log In Create A New Profile

Advanced

Replace domain without changing url in client browser

Posted by cprog 
Replace domain without changing url in client browser
November 26, 2019 02:44PM
Hello,

I have one legacy grails app which listen on http://localhost:8080
Also this app always redirect response back to hardcoded url domain - https://backend-domain.com

I want to setup nginx sever which listen on https://somedomain.com with ssl.
but when backend server response back to https://backend-domain.com nginx to rewrite domain
so cliient always see https://somedomain.com

How can I do this ?
Re: Replace domain without changing url in client browser
May 28, 2020 11:30AM
hello
can you show your code
then I'll be able to help you
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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