Skip to content

Instantly share code, notes, and snippets.

@barryvdh
Last active March 13, 2019 23:03
Show Gist options
  • Save barryvdh/91e8b917b9050c63773a0893fb37fd92 to your computer and use it in GitHub Desktop.
Save barryvdh/91e8b917b9050c63773a0893fb37fd92 to your computer and use it in GitHub Desktop.
# FORGE CONFIG (DOT NOT REMOVE!)
include forge-conf/default/before/*;
upstream fastcgi_backend {
server unix:/var/run/php/php7.1-fpm.sock;
}
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name default;
#root /home/forge/default/pub;
# FORGE SSL (DO NOT REMOVE!)
# ssl_certificate;
# ssl_certificate_key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA:!3DES';
ssl_prefer_server_ciphers on;
ssl_dhparam /etc/nginx/dhparams.pem;
# FORGE CONFIG (DOT NOT REMOVE!)
include forge-conf/default/server/*;
set $MAGE_ROOT /home/forge/default;
include /home/forge/default/nginx.conf.sample;
}
# FORGE CONFIG (DOT NOT REMOVE!)
include forge-conf/default/after/*;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment