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 ?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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