From 5a40cb52ddbcc78ac02f744a2419eb6232e72c3b Mon Sep 17 00:00:00 2001 From: "Slof, Didier" Date: Fri, 26 Jan 2024 19:18:41 +0100 Subject: [PATCH 1/3] feat: migrate to cddn-webwinkel.nl domain --- custom/nginx/conf.d/wordpress.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/nginx/conf.d/wordpress.conf b/custom/nginx/conf.d/wordpress.conf index 301e371..b842ad1 100644 --- a/custom/nginx/conf.d/wordpress.conf +++ b/custom/nginx/conf.d/wordpress.conf @@ -1,6 +1,6 @@ server { listen 80; - server_name cddn.ixvd.net; + server_name cddn-webwinkel.nl; # SSL is managed by certbot, no need for a ssl listen; it will be generated automagically! -- 2.45.2 From f63ca2d2c593d640dfdca73e319c9bd6d97f359e Mon Sep 17 00:00:00 2001 From: "Slof, Didier" Date: Wed, 31 Jan 2024 18:17:34 +0100 Subject: [PATCH 2/3] feat: cddn redirect and impl new domain --- custom/nginx/conf.d/wordpress.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/custom/nginx/conf.d/wordpress.conf b/custom/nginx/conf.d/wordpress.conf index b842ad1..dfe9f45 100644 --- a/custom/nginx/conf.d/wordpress.conf +++ b/custom/nginx/conf.d/wordpress.conf @@ -1,3 +1,9 @@ +server { + listen 80; + server_name cddn.ixvd.net; + rewrite ^/(.*)$ https://cddn-webwinkel.nl permanent; +} + server { listen 80; server_name cddn-webwinkel.nl; -- 2.45.2 From b4dcfc371f88f9080a1dcb5459efd7ff6f8b7df4 Mon Sep 17 00:00:00 2001 From: "Slof, Didier" Date: Wed, 31 Jan 2024 18:22:04 +0100 Subject: [PATCH 3/3] feat: dc.sh script --- dc.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 dc.sh diff --git a/dc.sh b/dc.sh new file mode 100755 index 0000000..4b17c1a --- /dev/null +++ b/dc.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +docker-compose \ + -f "docker-compose.wordpress.yml" \ + -f "docker-compose.yml" \ + $@ -- 2.45.2