Prettify URLs (no .html required)

This commit is contained in:
3wc
2020-12-27 15:46:53 +02:00
parent 6aec124c38
commit 682c9d1de3
3 changed files with 57 additions and 0 deletions

View File

@ -21,6 +21,9 @@ services:
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
volumes:
- content:/usr/share/nginx/html
configs:
- source: nginx_default_conf
target: /etc/nginx/conf.d/default.conf
#healthcheck:
# test: ["CMD", "curl", "-f", "http://localhost"]
# interval: 30s
@ -32,6 +35,11 @@ services:
volumes:
content:
configs:
nginx_default_conf:
name: ${STACK_NAME}_nginx_default_conf_${NGINX_DEFAULT_CONF_VERSION}
file: default.conf
networks:
proxy:
external: true