shiloh_automatisch/https/nginx/automatisch_letsencrypt_nginx_template.conf
Linden Crandall ec9732cfe5
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
nginx conf file updates
2025-02-08 04:00:51 +09:00

22 lines
494 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
events {
worker_connections 1024;
}
http {
server {
listen 7757;
server_name <HOSTNAME>;
location / {
proxy_pass http://<HOSTNAME>:7757;
}
location ~ /.well-known/acme-challenge/ {
root /var/www/certbot;
}
}
}