apps behind reverse proxy
January 24, 2020 08:23AM
Hi team,
here is what i wrote in the conf file of nginx:

server {
listen 443 ssl;
server_name 10.10.10.100;
access_log off ;
error_log off ;
ssl_certificate /etc/nginx-selfsigned.crt;
ssl_certificate_key /etc/nginx-selfsigned.key;

location /app
{
rewrite ^/e3(.*) /$1 break;
proxy_pass https://10.10.10.101/;
}

the login page is displayed well (https://10.10.10.100:443/app); when I enter my credentials and confirm the connection, instead of displaying the home page correctly, I rather receive a blank (empty) page. I do not understand why.
Re: apps behind reverse proxy
January 27, 2020 01:10PM
I am getting the empty page for my backend phpmyadmin page as well, after being authenticated with username and password. It works well with LAN IP address : 443 , for example - https://192.1.11.11:443/phpmyadmin and it does not work with https://example.com/phpmyadmin

Test if your apache backend is working first.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

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