mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 13:09:18 +08:00
add commented out SSL section to nginx config
This commit is contained in:
parent
a2e77d8bf4
commit
1591068226
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user