Replaced automx by Modoboa autoconfig service

This commit is contained in:
Antoine Nguyen
2025-09-16 18:12:11 +02:00
parent 56be1be372
commit fc81c04220
10 changed files with 9 additions and 222 deletions

View File

@@ -1,18 +1,14 @@
upstream automx {
server unix:%uwsgi_socket_path fail_timeout=0;
}
server {
listen 80;
listen [::]:80;
server_name %hostname;
root /srv/automx/instance;
root %app_instance_path;
access_log /var/log/nginx/%{hostname}-access.log;
error_log /var/log/nginx/%{hostname}-error.log;
location /mail/config-v1.1.xml {
location ~ ^/(mail/config-v1.1.xml|mobileconfig) {
include uwsgi_params;
uwsgi_pass automx;
uwsgi_pass modoboa;
}
}