Hello community,

I’m trying to use nginx to restrict the access of mailcow UI for /admin/ location.
I followed the docs (docs.mailcow.email Icon Custom sites - mailcow: dockerized documentation

) and I’ve created a extra.conf in data/conf/nginx with inside :

server {
   location /admin/ {
        allow 192.168.1.100;  # Allow this specific IP
        deny all;             # Deny all other IPs
   }
}

But /admin/ is still open to every IP after a compose down & up.
Someone has an idea ?


Léo.

  • You have to do it outside of mailcow with e.g. a reverse proxy.

You have to do it outside of mailcow with e.g. a reverse proxy.

Have something to say?

Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

No one is typing