updated nginx container, .conf file, added certbot container #2

Merged
Ghost merged 5 commits from dev into main 2025-02-07 00:15:26 +00:00
Showing only changes of commit 5807979b5e - Show all commits

34
https/nginx/temp.conf Normal file
View File

@ -0,0 +1,34 @@
events {
worker_connections 1024;
}
http {
server {
listen 7757;
server_name automatisch.lasthourhosting.org;
location ~ /.well-known/acme-challenge/ {
root /var/www/certbot;
}
return 301 https://$host$request_uri;
}
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;
location / {
proxy_pass http://automatisch.lasthourhosting.org:7757/;
}
location ~ /.well-known/acme-challenge/ {
root /var/www/certbot;
}
}
}