shiloh_automatisch/https/nginx/automatisch_letsencrypt_nginx.conf
Linden Crandall 998d0eb393
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
more nginx updates lol
2025-02-08 07:08:34 +09:00

23 lines
613 B
Plaintext

# 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 {
# nonstandard nginx http port
listen 7758;
listen [::]:7758;
server_name <HOSTNAME>;
location / {
# Forward to Automatisch site which is running on port 7757
proxy_pass http://main:7757;
}
location ~ /.well-known/acme-challenge/ {
root /var/www/certbot;
}
}
}