From 4ddea5809e33fd19f5bc59f2785ff03a74328438 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Fri, 18 Jul 2025 15:03:05 -0400 Subject: xyz redirect2 --- nginx/homepage.conf | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'nginx/homepage.conf') diff --git a/nginx/homepage.conf b/nginx/homepage.conf index f5784ab..3bffb04 100644 --- a/nginx/homepage.conf +++ b/nginx/homepage.conf @@ -19,9 +19,24 @@ server { # http redirect server { - listen 80 ; listen [::]:80 ; - server_name jackjamison.net www.jackjamison.net ; + listen 80 ; + server_name jackjamison.net *.jackjamison.net ; return 301 https://$host$request_uri; } + + +### jackjamison.xyz redirect + +# https +server { + server_name jackjamison.xyz *.jackjamison.xyz ; + + listen [::]:80 ; + listen 80 ; + listen [::]:443 ssl; + listen 443 ssl; + + return 301 https://jackjamison.net; +} -- cgit v1.2.3