aboutsummaryrefslogtreecommitdiffstats
path: root/roles/obsd_www/templates/httpd.d/www.conf.j2
blob: 85ba4ba50b6d6d449762451847d4b784f153045a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
server "{{ obsd_domain }}" {
  {% if obsd_alias_domain is defined %}
  alias "{{ obsd_alias_domain }}"
  {% endif %}
  log access "{{ obsd_domain }}-access.log"
  log error "{{ obsd_domain }}-error.log"
  listen on egress tls port 443
  tls {
    certificate "/etc/ssl/{{ obsd_domain }}.fullchain.pem"
    key "/etc/ssl/private/{{ obsd_domain }}.key"
  }
  root "/htdocs/www"
  no banner
}