4NK_env/confs/lecoffre_node/nginx_backups_host/dev4.4nkweb.com-http.conf
LeCoffre Deployment 74ca619b6a auto_clea
2025-09-25 12:55:10 +00:00

16 lines
359 B
Plaintext
Executable File

# HTTP server for ACME and redirect to HTTPS
server {
listen 80;
server_name dev4.4nkweb.com;
# ACME HTTP-01 challenges
location /.well-known/acme-challenge/ {
root /var/www/letsencrypt;
}
# Redirection vers HTTPS pour toutes les autres requêtes
location / {
return 301 https://$server_name$request_uri;
}
}