This works on a Digital Ocean’s server managed by Laravel Forge. What this does:
- install the ngx_headers_more module
- edit Nginx configuration to have a custom value for the
serverheader.
- Power off the server by connecting through
sshand runningsudo poweroff. - Take a snapshot of the server in the Digital Ocean panel. If things goes wrong, it’ll help server restauration.
- Warning step:
- Starting step 4, instructions are largely inspired from a Stack Overflow / Server Fault answer.

