Unfortunately I am still facing the same issue as with 0.9.3 that iRedAdmin won't work. The iRedMail server itself works fine concerning mail delivery etc. but iRedAdmin only shows the source code of the page instead of the actual python page. I am using the uwsgi.ini and iredadmin.ini sample files with socket user nginx:nginx which is correct for my server. The nginx config part looks liked this:
# iRedAdmin: static files under /iredadmin/static
location ~ ^/iredadmin/static/(.*)\.(png|jpg|gif|css|js) {
alias /var/www/iredadmin/static/$1.$2;
}
# iRedAdmin: Python scripts
location ~ ^/iredadmin(.*) {
rewrite ^/iredadmin(/.*)$ $1 break;
include uwsgi_params;
uwsgi_pass unix:/var/run/uwsgi_iredadmin.socket;
uwsgi_param UWSGI_CHDIR /var/www/iredadmin;
uwsgi_param UWSGI_SCRIPT iredadmin;
uwsgi_param SCRIPT_NAME /iredadmin;
}
# iRedAdmin: redirect /iredadmin to /iredadmin/
location = /iredadmin {
rewrite ^ /iredadmin/;
}
I had iRedAdmin working with 0.9.2 but ever since I upgraded to 0.9.3 and now 0.9.4 iRedAdmin won't work and I only see the source code of the page. So for some reason the python page is not served as python page but as plain text. I have played around with permissions with no success. I also added a mime type in nginx for py files but that didn't change anything and it should not be required, since it worked before the upgrade.
Please help, using iRedMail without iRedAdmin gives me headaches when adding mail accounts :-(