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: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready