1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-08-24 08:21:55 +00:00

feat: custom default error page (#2430)

* feat: customizable error page

* fix: use regex on catchall root location to fix DEFAULT_ROOT=none test

* docs: custom error pages

* fix: don't use default nginx image error page

* docs: small fix
This commit is contained in:
Nicolas Duchon
2024-05-22 08:23:48 +02:00
committed by GitHub
parent b4c7ea603e
commit fb9c3a646a
7 changed files with 69 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
version: "2"
services:
sut:
image: nginxproxy/nginx-proxy:test
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./50x.html:/usr/share/nginx/html/errors/50x.html:ro