CMAP Server Behind a Reverse Proxy (NGINX)

Having problems with IHMC CmapServer? Think you have found a bug? Let us know!
Forum rules
Before you post a problem or bug, please be sure you have included the version number of IHMC CmapServer, the operating system and version, the amount of RAM, and any other information that allows us to be able to replicate the problem you are having. (i.e. what were you doing when the problem occur? were you running another program (application) by the time you have the problem?)
Post Reply
Posts: 4
Joined: Tue May 19, 2009 8:06 am

CMAP Server Behind a Reverse Proxy (NGINX)

Post by chris2fr »


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:
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
Is there a way of forcing the directory listing in the URL for te ^$ or ^/$ cases?

Code: Select all

server {


  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/$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;


Site Admin
Posts: 737
Joined: Sat Dec 13, 2008 2:22 pm

Re: CMAP Server Behind a Reverse Proxy (NGINX)

Post by cmapadmin »

Can you be more specific on what you need? Its not clear.
Post Reply