nginx conf file updates
Some checks failed
Automatisch Backend Tests / test (pull_request) Has been cancelled
Automatisch CI / linter (pull_request) Has been cancelled
Automatisch CI / start-backend-server (pull_request) Has been cancelled
Automatisch CI / start-backend-worker (pull_request) Has been cancelled
Automatisch CI / build-web (pull_request) Has been cancelled
Some checks failed
Automatisch Backend Tests / test (pull_request) Has been cancelled
Automatisch CI / linter (pull_request) Has been cancelled
Automatisch CI / start-backend-server (pull_request) Has been cancelled
Automatisch CI / start-backend-worker (pull_request) Has been cancelled
Automatisch CI / build-web (pull_request) Has been cancelled
This commit is contained in:
parent
c2a1f5265b
commit
ec9732cfe5
@ -1,3 +1,6 @@
|
||||
# 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
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
@ -6,14 +9,14 @@ http {
|
||||
|
||||
server {
|
||||
listen 7757;
|
||||
server_name automatisch.lasthourhosting.org;
|
||||
server_name <HOSTNAME>;
|
||||
|
||||
location / {
|
||||
proxy_pass http://main:7757;
|
||||
proxy_pass http://<HOSTNAME>:7757;
|
||||
}
|
||||
|
||||
location ~ /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +1,6 @@
|
||||
# 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
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
@ -6,14 +9,14 @@ http {
|
||||
|
||||
server {
|
||||
listen 7757;
|
||||
server_name automatisch.lasthourhosting.org;
|
||||
server_name <HOSTNAME>;
|
||||
|
||||
location / {
|
||||
proxy_pass http://main:7757;
|
||||
proxy_pass http://<HOSTNAME>:7757;
|
||||
}
|
||||
|
||||
location ~ /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +1,6 @@
|
||||
# nginx conf file to use after LetsEncrypt SSL certs have been created
|
||||
# replace <HOSTNAME> with your DNS i.e.automatisch.lasthourhosting.org
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
@ -6,7 +9,7 @@ http {
|
||||
|
||||
server {
|
||||
listen 7757;
|
||||
server_name automatisch.lasthourhosting.org;
|
||||
server_name <HOSTNAME>;
|
||||
|
||||
location ~ /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
@ -18,17 +21,17 @@ http {
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
# use ssl letsencrypt certs
|
||||
ssl_certificate /etc/letsencrypt/live/automatisch.lasthourhosting.org/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/automatisch.lasthourhosting.org/privkey.pem;
|
||||
server_name automatisch.lasthourhosting.org;
|
||||
ssl_certificate /etc/letsencrypt/live/<HOSTNAME>/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/<HOSTNAME>/privkey.pem;
|
||||
server_name <HOSTNAME>;
|
||||
|
||||
|
||||
location / {
|
||||
proxy_pass http://automatisch.lasthourhosting.org:7757/;
|
||||
proxy_pass http://<HOSTNAME>:7757/;
|
||||
}
|
||||
|
||||
location ~ /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user