Browse Source

Bring back ssl.

feature/python-error-tracking
Drew Larson 8 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;
server_name www.shop.bcbc.bike;
# $scheme will get the http protocol
@ -11,9 +11,11 @@ server {
# $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 {
# resolver 127.0.0.11 ipv6=off;
listen 443 ssl;
# listen 80;
server_name shop.bcbc.bike;
ssl_certificate /etc/letsencrypt/live/shop.bcbc.bike/fullchain.pem;

Loading…
Cancel
Save