Welcome! Log In Create A New Profile

Advanced

NGINX TOMCAT + HTTPS

Posted by cdriksii 
NGINX TOMCAT + HTTPS
December 03, 2015 12:57PM
Hi all,


I have a problem with NGINX :D


My problem :
NGINX is my reverse proxy, when I try to access my url NGINX ip is replaced by that of TOMCAT


On my local network :
https://@ip_nginx/app ==> https://@ip_tomcat:8443/app ==> the web page is ok but I see the ip of my tomcat
I wish that the redirection is done without seeing the ip of my TOMCAT


On Internet :
https://toto/app ==> https://@ip_tomcat:8443/app
it doesn't work because since my Internet browser tries to join a private IP


My config :
Tomcat 8 :
Port Redirection 8080 to 8443 with certificate
attached my config file "server.txt"


Nginx 1.9.6 :
attached my config file of my site "site.txt"

thanks for your help



Edited 1 time(s). Last edit at 12/03/2015 12:58PM by cdriksii.
Attachments:
open | download - servers.txt (1.9 KB)
open | download - site.txt (4.7 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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