diff --git a/nginx/conf.d/flux.conf b/nginx/conf.d/flux.conf index 31c5707..ab81558 100644 --- a/nginx/conf.d/flux.conf +++ b/nginx/conf.d/flux.conf @@ -6,6 +6,15 @@ upstream nextjs { keepalive 32; } +# Legacy domain redirect — anyone landing on lethepowerflux.com lands on +# the canonical https://www.rf-flux.com host instead. SEO-safe 301. +server { + listen 80; + server_name lethepowerflux.com www.lethepowerflux.com; + + return 301 https://www.rf-flux.com$request_uri; +} + server { listen 80; server_name rf-flux.com www.rf-flux.com;