Browse Source

Bring back ssl.

feature/python-error-tracking
Drew Larson 7 years ago
parent
commit
287494ee75
  1. 6
      docker/nginx/conf/nginx-site.conf

6
docker/nginx/conf/nginx-site.conf

@ -1,4 +1,4 @@
server { server {
listen 80; listen 80;
server_name www.shop.bcbc.bike; server_name www.shop.bcbc.bike;
# $scheme will get the http protocol # $scheme will get the http protocol
@ -11,9 +11,11 @@ server {
# $scheme will get the http protocol # $scheme will get the http protocol
# and 301 is best practice for tablet, phone, desktop and seo # and 301 is best practice for tablet, phone, desktop and seo
return 301 https://shop.bcbc.bike$request_uri; return 301 https://shop.bcbc.bike$request_uri;
} }
server { server {
# resolver 127.0.0.11 ipv6=off;
listen 443 ssl; listen 443 ssl;
# listen 80;
server_name shop.bcbc.bike; server_name shop.bcbc.bike;
ssl_certificate /etc/letsencrypt/live/shop.bcbc.bike/fullchain.pem; ssl_certificate /etc/letsencrypt/live/shop.bcbc.bike/fullchain.pem;

Loading…
Cancel
Save