mirror of
https://github.com/fspc/workstand.git
synced 2025-04-04 10:03:22 -04:00
Bring back ssl.
This commit is contained in:
parent
412b4b1dd3
commit
287494ee75
@ -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…
x
Reference in New Issue
Block a user