ansible-collection-wip/roles/podman_nginx/templates/nginx.conf
2025-06-02 14:55:56 +01:00

17 lines
330 B
Nginx Configuration File

# {{ ansible_managed }}
server {
listen 80;
listen [::]:80;
server_name {{ podman_nginx_primary_hostname }};
server_tokens off;
location /.well-known/acme-challenge/ {
root /var/www/certbot;
}
location / {
return 301 https://{{ podman_nginx_primary_hostname }}$request_uri;
}
}