Skip to content

Instantly share code, notes, and snippets.

@hownowbrowncow
hownowbrowncow / gist:9dc43046657d7b3fa7db842913eb60f9
Last active April 10, 2017 17:44
A+ Observatory Nginx Config
server {
listen 80;
server_name example.com www.example.com;
rewrite ^ https://$host$request_uri? permanent;
}
server {
listen 443 ssl;
server_name example.com www.example.com;