Skip to content

Instantly share code, notes, and snippets.

View leRoiDeRien's full-sized avatar

Le Roi de Rien leRoiDeRien

  • Paris, France
View GitHub Profile
@leRoiDeRien
leRoiDeRien / nginx.conf
Created March 31, 2019 11:13 — forked from nrollr/nginx.conf
NGINX config for SSL with Let's Encrypt certs
# UPDATED 17 February 2019
# Redirect all HTTP traffic to HTTPS
server {
listen 80;
listen [::]:80;
server_name www.domain.com domain.com;
return 301 https://$host$request_uri;
}
# SSL configuration
@leRoiDeRien
leRoiDeRien / composer.json
Created March 9, 2019 08:59 — forked from andyshinn/composer.json
Docker Compose PHP Composer Example
{
"require": {
"mfacenet/hello-world": "v1.*"
}
}