diff --git a/docker-compose.yml b/docker-compose.yml index 8e6d52be..a42f59c8 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 7d78cff2..93958082 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 d5f3786f..b50139f1 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 {