removed http block #10
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user