diff --git a/example/nginx/docker-compose.yml b/example/nginx/docker-compose.yml index 8857ee3bd..532c3a89a 100644 --- a/example/nginx/docker-compose.yml +++ b/example/nginx/docker-compose.yml @@ -3,8 +3,7 @@ services: nginx: image: nginx:alpine volumes: - - ./example/nginx/index.html:/usr/share/nginx/html/index.html - - ./example/nginx/secret.html:/usr/share/nginx/html/secret.html + - ./example/nginx/html:/usr/share/nginx/html - ./example/nginx/ssl:/etc/ssl - ./example/nginx/nginx.conf:/etc/nginx/nginx.conf ports: diff --git a/example/nginx/html/icon.png b/example/nginx/html/icon.png new file mode 100644 index 000000000..1b341ee42 Binary files /dev/null and b/example/nginx/html/icon.png differ diff --git a/example/nginx/index.html b/example/nginx/html/index.html similarity index 96% rename from example/nginx/index.html rename to example/nginx/html/index.html index c4e32c659..8f76ab5b3 100644 --- a/example/nginx/index.html +++ b/example/nginx/html/index.html @@ -1,6 +1,8 @@ + Home page +

Access the secret

diff --git a/example/nginx/secret.html b/example/nginx/html/secret.html similarity index 75% rename from example/nginx/secret.html rename to example/nginx/html/secret.html index d16936783..e40f3bd90 100644 --- a/example/nginx/secret.html +++ b/example/nginx/html/secret.html @@ -1,6 +1,7 @@ Secret + This is a very important secret!
diff --git a/src/server/views/layout/layout.pug b/src/server/views/layout/layout.pug index a085cb227..6c017100e 100644 --- a/src/server/views/layout/layout.pug +++ b/src/server/views/layout/layout.pug @@ -4,7 +4,7 @@ html head title Authelia - 2FA meta(name="viewport", content="width=device-width, initial-scale=1.0")/ - link(rel="icon", href="/img/icon.png" type="image/gif" sizes="32x32")/ + link(rel="icon", href="/img/icon.png" type="image/png" sizes="32x32")/ link(rel="stylesheet", type="text/css", href="/css/authelia.min.css")/ if redirection_url diff --git a/test/integration/docker-compose.yml b/test/integration/docker-compose.yml index 9303e2e9d..090a132bc 100644 --- a/test/integration/docker-compose.yml +++ b/test/integration/docker-compose.yml @@ -11,8 +11,7 @@ services: nginx-tests: image: nginx:alpine volumes: - - ./example/nginx/index.html:/usr/share/nginx/html/index.html - - ./example/nginx/secret.html:/usr/share/nginx/html/secret.html + - ./example/nginx/html:/usr/share/nginx/html - ./example/nginx/ssl:/etc/ssl - ./test/integration/nginx.conf:/etc/nginx/nginx.conf expose: