Last active
March 15, 2018 16:38
-
-
Save mskian/637f8dd3be2b73b73f85c591c812e653 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 443 ssl http2; | |
listen [::]:443 ssl http2; | |
server_name www.example.com; | |
root /var/www/ghost/system/nginx-root; | |
return 301 https://example.com$request_uri; | |
ssl_certificate /etc/letsencrypt/www.example.com/fullchain.cer; | |
ssl_certificate_key /etc/letsencrypt/www.example.com/www.example.com.key; | |
include /etc/nginx/snippets/ssl-params.conf; | |
location ~ /.well-known { | |
allow all; | |
} | |
client_max_body_size 50m; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment