Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

the certbot program for doesnt have a revert back. It seems to keep reverting everyone to https.

problem is not in .htaccess

I kinda want to know the lesson for the future? I upgraded from php 4 to php 7 without a problem.



> the certbot program for doesnt have a revert back. It seems to keep reverting everyone to https.

If your certbot is set up to configure your webserver, you can remove its modifications manually. For some configs it does have a revert though: "certbot --nginx rollback".

> I kinda want to know the lesson for the future?

Before big changes like that:

- prepare a rollback plan, so if things go wrong you don't have to learn new things in an emergency mode

- stand up a test environment and try the change there, before applying it into production


>you can remove its modifications manually.

Haha thats what my Physical Therapist wife said. I agree, where would I find these details on the website? I searched the documentation and even github but it was overwhelming.

Btw, good suggestion on doing a backup BEFORE the change.

Test environment sounds good as well. I have a hard time justifying the time cost. That said, this should be something that any decent programmer does casually.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: