Welcome! Log In Create A New Profile

Advanced

Incorrect $Scheme is added response URL's when running Nginx in SSL mode(HTTPS) and Application Server(Jboss) on Non SSl mode(HTTP)

Posted by anuj11sep 
I am running Nginx in SSL mode(HTTPS) and Application Server(Jboss) on Non SSl mode(HTTP).
I invoke my application server URL through proxy_pass, but when I hit the login page the response return to the client(Browser) contains the Script URL's with HTTP rather than HTTPS.

<script src="http://servername:9003/......>

Please suggest the Nginx configuration So that the response in URL will contain the HTTPS. As below,

<script src="https://servername:9003/......>
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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