diff --git a/docker-compose.yml b/docker-compose.yml index 3c7eff7..114b4ed 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: "2" - services: nginx: image: nginx @@ -30,4 +28,3 @@ networks: default: name: nginxproxy external: true - diff --git a/domains.list b/domains.list index cc0d564..9870a0e 100644 --- a/domains.list +++ b/domains.list @@ -1,5 +1,9 @@ # API api.typename.fr +keycloak.typename.fr + +# AOC +aoc.typename.fr # Cloud cloud.typename.fr diff --git a/vhost.d/aoc.typename.fr b/vhost.d/aoc.typename.fr new file mode 100644 index 0000000..88ad496 --- /dev/null +++ b/vhost.d/aoc.typename.fr @@ -0,0 +1,6 @@ +auth_basic "AOC Area"; +auth_basic_user_file /etc/nginx/vhost.d/aoc_auth.htpasswd; + +proxy_read_timeout 300; +proxy_connect_timeout 300; +proxy_send_timeout 300; diff --git a/vhost.d/aoc_auth.htpasswd b/vhost.d/aoc_auth.htpasswd new file mode 100644 index 0000000..095763b --- /dev/null +++ b/vhost.d/aoc_auth.htpasswd @@ -0,0 +1 @@ +aoc:$apr1$HWdCMZdT$yR9qzGU1tduny4sXtItFM/