Rename the authentication endpoint

This commit is contained in:
kaiyou
2017-10-22 16:43:06 +02:00
parent 3c9552a14b
commit ff71e70360
3 changed files with 7 additions and 4 deletions

View File

@@ -89,15 +89,15 @@ http {
server {
listen 127.0.0.1:8000;
location /internal {
proxy_pass http://admin;
location / {
proxy_pass http://admin/internal/;
}
}
}
mail {
server_name {{ HOSTNAMES.split(",")[0] }};
auth_http http://127.0.0.1:8000/internal/nginx;
auth_http http://127.0.0.1:8000/auth/email;
proxy_pass_error_message on;
{% if TLS and not TLS_ERROR %}