Question

How do I Make iRedAdmin (from iRedMail) work under Nginx (Ubuntu 13.04 x64)?

  • Posted on October 16, 2013
  • erid14Asked by erid14

Hi there, I was able to install iRedMail and make most of it work under a LEMP environment, however the iRedAdmin web application isn’t working, I got the Roundcube webmail to work and I’m able to login, everything seems to work just fine, but I’m just unable to make nginx provide access to the admin panel.

I’ve been trying and looked everywhere, of all guides/examples this one looks like what I need: http://antlite.com/blog/2011/06/ubuntu-iredmail-nginx-settings/ (it’s in chinese but I just follow the code), however uswgi-python appears to no exist anymore, I don’t know what else to do.

I would highly appreciate your help.

Thanks, Érid.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@currapps, all my config below:

	server {
		listen 443;
		server_name mail.domain;
		location / {
			root   /usr/share/apache2/roundcubemail;
			index  index.php index.html;
		}
		location ~ \.php$ {
			root            /usr/share/apache2/roundcubemail;
			include         fastcgi_params;
			fastcgi_pass    127.0.0.1:9000;
			fastcgi_index   index.php;
			fastcgi_param   SCRIPT_FILENAME /usr/share/apache2/roundcubemail$fastcgi_script_name;
			fastcgi_param SERVER_NAME $http_host;
			fastcgi_ignore_client_abort on;
		}
		location /iredadmin {
			root /usr/share/apache2;
			uwsgi_pass 127.0.0.1:3031;
			uwsgi_param SCRIPT_NAME /iredadmin;
			include uwsgi_params;
			uwsgi_modifier1 30;
		}
		location ~* ^/iredadmin/static/ {
			root /usr/share/apache2;
		}
	}

}

@Kamal Nasser, I won this config)

@xandr0s: can you pastebin the whole virtualhost config?