aboutsummaryrefslogtreecommitdiff
path: root/roles/nginx/defaults/main.yml
blob: bb9a0eabd49fe91d68fd9513dcbb16fa64d703a5 (plain)
1
2
3
4
5
6
7
8
9
10
---
nginx:
  servers:
    default:
      listen: 443 ssl
      server_name: '{{ ansible_facts.fqdn }}'
      ssl_certificate: '/etc/ssl/certs/{{ ansible_facts.fqdn }}.pem'
      ssl_certificate_key: '/etc/ssl/private/{{ ansible_facts.fqdn }}.key'
      'location /':
        proxy_pass: http://localhost:8080