1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-07-15 01:24:34 +02:00

Switch to the new networking API

This commit is contained in:
Pierre Jaury
2016-04-20 21:17:43 +02:00
parent 18af763293
commit 719afcf0dd
5 changed files with 10 additions and 16 deletions

View File

@ -33,11 +33,15 @@ http {
}
location / {
proxy_pass http://webmail;
resolver 127.0.0.11;
set $webmail_backend "http://webmail";
proxy_pass $webmail_backend;
}
location /admin {
proxy_pass http://admin;
resolver 127.0.0.11;
set $admin_backend "http://admin";
proxy_pass $admin_backend;
}
}
}