mirror of
https://github.com/michelleDeko/scalelite-run.git
synced 2026-02-05 07:40:55 +01:00
Updates for supporting certbot (#2)
This commit is contained in:
@@ -9,6 +9,19 @@ server {
|
||||
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
server_name $NGINX_HOSTNAME;
|
||||
|
||||
listen 443 ssl;
|
||||
listen [::]:443;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user