I have the web interface working behind NGINX reverse proxy for everything except the default page as follows at the end of this message.
The internal maps work fine. The only problem is on the home page, where I have the following Tomcat error:
Is there a way of forcing the directory listing in the URL for te ^$ or ^/$ cases?HTTP Status 404 - The null portion
type Status report
message The null portion
description The requested resource (The null portion) is not available.
Apache Tomcat/6.0.35
Code: Select all
server {
server_name www.example.com;
listen 8443 ssl;
ssl_certificate /etc/ssl/certs/example_com_bundle.crt;
ssl_certificate_key /etc/ssl/private/example_com_nopass.key;
location / {
rewrite ^/(.*)$ /VirtualHostBase/https/www.example.com:8443/VirtualHostRoot/$1 break;
proxy_set_header HOST $host;
proxy_set_header X-REAL-IP $remote_addr;
proxy_set_header X-ForwardedFor $proxy_add_x_forwarded_for;
proxy_pass http://localhost:8888;
proxy_redirect default;
}
}