Lol I hate my life.

This commit is contained in:
Drew Larson
2017-01-16 17:58:08 -06:00
parent 04bf115307
commit b26101dfc1
3 changed files with 28 additions and 23 deletions
+21 -22
View File
@@ -1,28 +1,27 @@
# server {
# listen 80;
# server_name www.shop.bcbc.bike;
# # $scheme will get the http protocol
# # and 301 is best practice for tablet, phone, desktop and seo
# return 301 https://shop.bcbc.bike$request_uri;
#}
#server {
# listen 80;
# server_name shop.bcbc.bike;
# # $scheme will get the http protocol
# # and 301 is best practice for tablet, phone, desktop and seo
# return 301 https://shop.bcbc.bike$request_uri;
#}
server {
listen 80;
server_name www.shop.bcbc.bike;
# $scheme will get the http protocol
# and 301 is best practice for tablet, phone, desktop and seo
return 301 https://shop.bcbc.bike$request_uri;
}
server {
# listen 443 ssl;
listen 80;
listen 80;
server_name shop.bcbc.bike;
# $scheme will get the http protocol
# and 301 is best practice for tablet, phone, desktop and seo
return 301 https://shop.bcbc.bike$request_uri;
}
server {
listen 443 ssl;
server_name shop.bcbc.bike;
# ssl_certificate /etc/letsencrypt/live/{{ app_domain_name }}/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/{{ app_domain_name }}/privkey.pem;
ssl_certificate /etc/letsencrypt/live/shop.bcbc.bike/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/shop.bcbc.bike/privkey.pem;
# ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
# ssl_prefer_server_ciphers on;
# ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
location = /favicon.ico { access_log off; log_not_found off; }
keepalive_timeout 5;
@@ -34,7 +33,7 @@ server {
}
location /static {
root /code/static;
root /code;
}
location @proxy_to_app {