Changed Servername but the 301 Redirect gets not replaced automatically

I changed domain from in my vhost config (sites-enabled) the server_name from => to

Then I run follwing command: certbot --nginx --redirect --reinstall -d

my certs, everything gets updated well.

THE ISSUE is, that my redirects are not updated to the NEW DOMAIN
still orderapi…

how can i force CERTBOT to update these entrys?

I woud apreciate any hint. thx a lto

You are asking certbot to fix files you are changing manually.
The simplest fix is to manually adjust the nginx file to whatever you need it to do.
NGINX is very straightforward - the “verbs” are easy to understand.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.