Files
drone-detector/docker/certbot/nginx.conf
2025-09-13 08:54:16 +02:00

29 lines
608 B
Nginx Configuration File

events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
# Simple server for HTTP challenges
server {
listen 80;
server_name _;
root /var/www/html;
# ACME challenge location
location /.well-known/acme-challenge/ {
root /var/www/html;
try_files $uri =404;
}
# Default location
location / {
return 200 "Certbot HTTP Challenge Server";
add_header Content-Type text/plain;
}
}
}