diff --git a/docker-compose.yml b/docker-compose.yml index 8e6d52be5..a42f59c85 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,7 @@ services: - ldap expose: - "80" + restart: always ldap: image: osixia/openldap:1.1.7 diff --git a/nginx_conf/index.html b/nginx_conf/index.html index 7d78cff29..939580829 100644 --- a/nginx_conf/index.html +++ b/nginx_conf/index.html @@ -3,7 +3,7 @@ Home page - You need to log in to access the secret!

- You can also log off by visiting the following link. + You need to log in to access the secret!

+ You can also log off by visiting the following link. diff --git a/nginx_conf/nginx.conf b/nginx_conf/nginx.conf index d5f3786fa..b50139f14 100644 --- a/nginx_conf/nginx.conf +++ b/nginx_conf/nginx.conf @@ -29,7 +29,7 @@ http { error_page 401 = @error401; location @error401 { - return 302 http://localhost:8085/auth/login?redirect=$request_uri; + return 302 http://localhost:8080/auth/login?redirect=$request_uri; } location = /check-auth {