add commented out SSL section to nginx config

This commit is contained in:
Jeff Atwood 2015-01-17 01:26:21 -08:00
parent a2e77d8bf4
commit 1591068226

View File

@ -34,6 +34,18 @@ server {
gzip_comp_level 5;
gzip_types application/json text/css application/x-javascript application/javascript;
# Uncomment and configure this section for HTTPS support
# NOTE: Put your ssl cert in your main nginx config directory (/etc/nginx)
#
# rewrite ^/(.*) https://enter.your.web.hostname.here/$1 permanent;
#
# listen 443 ssl;
# ssl_certificate your-hostname-cert.pem;
# ssl_certificate_key your-hostname-cert.key;
# ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
# ssl_ciphers HIGH:!aNULL:!MD5;
#
server_name enter.your.web.hostname.here;
server_tokens off;
@ -87,7 +99,7 @@ server {
expires 1y;
add_header Cache-Control public;
}
# cache emojis
location ~ /_?emoji/ {
expires 1y;