nginx: include lethepowerflux.com → rf-flux.com 301 redirect
Deploy to VPS / deploy (push) Has been cancelled
Deploy to VPS / deploy (push) Has been cancelled
The VPS already had a server block redirecting lethepowerflux.com and www.lethepowerflux.com to https://www.rf-flux.com, but it lived only on the live config — not in git. That's why the latest pull complained about local changes that would be overwritten. Adding it here so the repo is the single source of truth for the Nginx config again. Behaviour is unchanged on the VPS (redirect was already in place) — this commit just lets future git pulls flow without manual intervention.
This commit is contained in:
@@ -6,6 +6,15 @@ upstream nextjs {
|
|||||||
keepalive 32;
|
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 {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name rf-flux.com www.rf-flux.com;
|
server_name rf-flux.com www.rf-flux.com;
|
||||||
|
|||||||
Reference in New Issue
Block a user