Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a VPS serving a website using nginx and jetty and everything works fine. The website is accesible through my .com domain.

I have installed monitorix and I want to access monitorix web user interface which should be served as well by nginx (I don't want to install another server like lighttpd or apache just for monitorix). In the monitorix documentation it says that it should be accessible through http://localhost/monitorix. I have tried but it shows my custom 404 page, and I have also tried to access http://localhost/monitorix with both curl and lynx and I get the 404 page as well.

How can I configure nginx to serve monitorix WUI? It is ok if I configure it to serve it only to localhost and I can create an SSH tunnel from my computer to see the page and graphic statics.

Thank you!!

share|improve this question
do you have a location and an alias in your nginx configuration for monitorix? what does the nginx access.log and error.log say when you try to access it? – LinuxDevOps Apr 24 '14 at 14:49

Nginx don't support CGI. You can try SimpleCGI, but i recommend install Apache for Monitorix.

share|improve this answer
I am already using fast-cgi with nginx and it works flawlessly, so that's not a problem... – DrKarl Feb 5 '11 at 16:50
Nginx support FastCGI, but not support CGI. – alvosu Feb 5 '11 at 17:01
@alvosu It is not a problem. Every CGI script can be run using FastCGI process manager. Apache for this job is overkill. – VBart Aug 15 '13 at 13:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.