Hi there,
I'm trying to add your interface into iredmail, but with no luck. There is no nginx integration described anywhere. So I stucked at 404 not found problem after login.
Here is my current nginx/sites-available/00-default-ssl.conf (which is indeed enabled):
Note: This file must be loaded before other virtual host config files,
HTTPS
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name _;
root /var/www/html;
index index.php index.html;
include /etc/nginx/templates/misc.tmpl;
include /etc/nginx/templates/phpldapadmin.tmpl;
include /etc/nginx/templates/ssl.tmpl;
include /etc/nginx/templates/iredadmin.tmpl;
include /etc/nginx/templates/roundcube.tmpl;
include /etc/nginx/templates/sogo.tmpl;
include /etc/nginx/templates/netdata.tmpl;
include /etc/nginx/templates/php-catchall.tmpl;
include /etc/nginx/templates/stub_status.tmpl;
include /etc/nginx/templates/mlmmj-web.tmpl;
}
and with a template (/etc/nginx/templates/mlmmj-web.tmpl) looking like this:
Mlmmj-Simple-Web-Interface Proxy Template
location /mlmmj-web/ {
allow all;
proxy_pass http://127.0.0.1:4792/;
root /opt/mlmmj-simple-web-interface;
rewrite ^/mlmmj-web/(.*)$ /$1 break;
index index.js;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
#proxy_redirect off;
proxy_redirect http://localhost:4792/ /mlmmj-web/;
proxy_redirect / /mlmmj-web/;
}
Does anyone has a hint for me?
Hi there,
I'm trying to add your interface into iredmail, but with no luck. There is no nginx integration described anywhere. So I stucked at 404 not found problem after login.
Here is my current nginx/sites-available/00-default-ssl.conf (which is indeed enabled):
Note: This file must be loaded before other virtual host config files,
HTTPS
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name _;
}
and with a template (/etc/nginx/templates/mlmmj-web.tmpl) looking like this:
Mlmmj-Simple-Web-Interface Proxy Template
location /mlmmj-web/ {
allow all;
proxy_pass http://127.0.0.1:4792/;
root /opt/mlmmj-simple-web-interface;
rewrite ^/mlmmj-web/(.*)$ /$1 break;
index index.js;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
Does anyone has a hint for me?