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 munin setup so that it can be accessed by any virtual domain on my server by adding /munin/ to the end of the virtual domain. Apache alias setup looks like this ->

Alias /munin /home/munin/

Now I have just setup nginx as the reverse proxy and everything seems to be working fine with the domain names apart from me being unable to access the munin directory.

If I remove the alias then the munin directory loads up but the static (image files, js files, etc) content doesn't load up.

I have tried adding alias in nginx but that doesn't seem to help by using

location /munin {
    Alias /home/munin

The question is not just bound to this one directory but any other directory for example the /usr/share/phpmyadmin/ directory as I am unable to access that aswell after setting up nginx as proxy.

How can I configure nginx to allow me to able to access munin which resides in /home/munin by using the format


share|improve this question

migrated from Aug 9 '11 at 10:12

This question came from our site for professional and enthusiast programmers.

location /munin {
   root /home;
share|improve this answer

If you are using a different port for the apache proxy such as 8080 or something then you can access munin directly by using apache by using

I had the same problem and this was an easy solution

share|improve this answer

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.