diff --git a/custom/nginx/conf.d/wordpress.conf b/custom/nginx/conf.d/wordpress.conf index 301e371..dfe9f45 100644 --- a/custom/nginx/conf.d/wordpress.conf +++ b/custom/nginx/conf.d/wordpress.conf @@ -1,6 +1,12 @@ +server { + listen 80; + server_name cddn.ixvd.net; + rewrite ^/(.*)$ https://cddn-webwinkel.nl permanent; +} + 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! 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" \ + $@