infra/roles/private/files/johan/http.pihole.internal.simponic.xyz.conf

14 lines
271 B
Plaintext
Raw Permalink Normal View History

server {
listen 80;
server_name pihole.internal.simponic.xyz;
location /.well-known/acme-challenge {
root /var/www/letsencrypt;
try_files $uri $uri/ =404;
}
location / {
rewrite ^ https://pihole.internal.simponic.xyz$request_uri? permanent;
}
}