Prettify URLs (no .html required)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user