logoalt Hacker News

bstsb • today at 1:55 PM • 2 replies • view on HN

i just took down all my PHP sites for the last few hours. they’re proxied behind Cloudflare so i know there were mitigations, but infrastructure can’t be breached if it isn’t running!


Replies

indemnity83 • today at 7:00 PM

Similar here, except I didn't want to actually shut down the servers, because then I can't patch them! My solution was to just turn off Nginx, which prevents anything from reaching PHP. Then I stuck a caddy server with a temporary config so we get actual 503 maintenance responses.

It seemed to be helpful for others too so I packaged it up, should work on most Nginx / Certbot servers. hopefully its useful: https://github.com/Indemnity83/popcorn

bombcar • today at 2:10 PM

Now I need to get the cute name for a vm vulnerability that attacks offline servers ...

awake2death or something

➕ show 1 reply