removed http block #10

Merged
Ghost merged 1 commits from dev into main 2025-02-07 22:17:57 +00:00
3 changed files with 57 additions and 65 deletions

View File

@ -1,9 +1,7 @@
# initial nginx conf file needed when running certbot container the first time to generate ssl certs
# replace <HOSTNAME> with your DNS i.e.automatisch.lasthourhosting.org
http {
server {
server {
# nonstandard nginx http port
listen 7758;
@ -19,5 +17,4 @@ http {
location ~ /.well-known/acme-challenge/ {
root /var/www/certbot;
}
}
}

View File

@ -1,9 +1,7 @@
# initial nginx conf file needed when running certbot container the first time to generate ssl certs
# replace <HOSTNAME> with your DNS i.e.automatisch.lasthourhosting.org
http {
server {
server {
# nonstandard nginx http port
listen 7758;
@ -19,5 +17,4 @@ http {
location ~ /.well-known/acme-challenge/ {
root /var/www/certbot;
}
}
}

View File

@ -1,9 +1,8 @@
# nginx conf file to use after LetsEncrypt SSL certs have been created
# replace <HOSTNAME> with your DNS i.e.automatisch.lasthourhosting.org
http {
server {
server {
# nonstandard nginx http port
listen 7758;
@ -15,9 +14,9 @@ http {
}
return 301 https://$host$request_uri;
}
}
server {
server {
# nonstandard nginx https port
listen 7759 ssl http2;
@ -42,5 +41,4 @@ http {
location ~ /.well-known/acme-challenge/ {
root /var/www/certbot;
}
}
}