From 936991dc5959b36e3b36262f42d37911b87f3536 Mon Sep 17 00:00:00 2001 From: Raine Date: Wed, 20 Dec 2023 03:07:55 +0100 Subject: [PATCH] feat: impl catch-all for parked domains --- .../custom/nginx/conf.d/catch-all.conf | 11 +++++++++++ servers/keymaker/docker-compose.d/docker-compose.yml | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 servers/keymaker/docker-compose.d/custom/nginx/conf.d/catch-all.conf diff --git a/servers/keymaker/docker-compose.d/custom/nginx/conf.d/catch-all.conf b/servers/keymaker/docker-compose.d/custom/nginx/conf.d/catch-all.conf new file mode 100644 index 0000000..0792943 --- /dev/null +++ b/servers/keymaker/docker-compose.d/custom/nginx/conf.d/catch-all.conf @@ -0,0 +1,11 @@ +server { + listen 80; + server_name _; + + # SSL is managed by certbot, no need for a ssl listen; it will be generated automagically! + + # default html page + location / { + proxy_pass http://pdsite; + } +} diff --git a/servers/keymaker/docker-compose.d/docker-compose.yml b/servers/keymaker/docker-compose.d/docker-compose.yml index 2a0641a..58edecf 100644 --- a/servers/keymaker/docker-compose.d/docker-compose.yml +++ b/servers/keymaker/docker-compose.d/docker-compose.yml @@ -19,6 +19,11 @@ services: networks: - proxy + pdsite: + image: git.ixvd.net/ixvd/pdsite + networks: + - proxy + # Here the default networks are defined networks: proxy: