nginx_secure_default.conf.j2 399 B

1234567891011121314
  1. server {
  2. listen 443 ssl http2 default_server;
  3. listen [::]:443 ssl http2 default_server;
  4. server_name {{ ansible_fqdn }};
  5. include /etc/nginx/ssl.conf;
  6. ssl_certificate /var/lib/acme/live/{{ ansible_fqdn }}/fullchain;
  7. ssl_certificate_key /var/lib/acme/live/{{ ansible_fqdn }}/privkey;
  8. access_log off;
  9. include /etc/nginx/site-include/{{ ansible_fqdn }}/*.conf;
  10. }