You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-08-10 22:31:47 +02:00
Use docker links for nginx to resolve properly
This commit is contained in:
@@ -9,6 +9,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
links:
|
||||||
|
- webmail
|
||||||
|
- admin
|
||||||
volumes:
|
volumes:
|
||||||
- /data/certs:/certs
|
- /data/certs:/certs
|
||||||
|
|
||||||
|
@@ -33,15 +33,11 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
resolver 127.0.0.11;
|
proxy_pass http://webmail;
|
||||||
set $webmail_backend "http://webmail";
|
|
||||||
proxy_pass $webmail_backend;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location /admin {
|
location /admin {
|
||||||
resolver 127.0.0.11;
|
proxy_pass http://admin;
|
||||||
set $admin_backend "http://admin";
|
|
||||||
proxy_pass $admin_backend;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user