Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

AlsonicTech's avatar

Forge Server - Securities and Improvements

I made a checklist that I am doing on every Forge Install. I want to specify that I`m not a Linux expert and I get well documented before making this list.

Please fell free to add or comment about this list.

After fresh installation of Forge:

  1. Install LetEncrypt SSL
  2. Install RECIPE: Patch LOGJAM Vulnerability
    • This is for SSL Log-Jam Fix
  3. Install RECIPE: SSL Optimization
  4. Enable HTTP Strict Transport Security (HSTS)
    • In your site’s nginx configuration file add this line to your server block:
    • add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
  5. Enable HTTP/2
    • This is by far the simplest step. In your site’s nginx configuration file add “http2” to the end of the listen line for the server block.
    • listen 443 ssl http2;
  6. Install RECIPE: ConfigServer Security & Firewall
  7. Install RECIPE: Auto Update Server
0 likes
5 replies
lprice's avatar

Is ConfigServer Security & Firewall recommended still... doesn't forge configure the firewall automatically already?

lprice's avatar

And as far as I know forge also does the Auto Update Server for critical stuff :

Otherwise it is never a good idea to just update automatically on a production server anyway... just the critical bug/security fixes.

ejdelmonico's avatar

Forge is very secure and the only changes you need to make is if you need to open ports or add a sudoer or a small config change for nginx, etc. Security updates are done as well as composer.phar updates. All other non-critical patches/fixes will need to be done by the admin.

TomJay's avatar

Hi there, I was just wondering if there was any further update to what is recommended for server hardening as of September 2018?

Please or to participate in this conversation.