summaryrefslogtreecommitdiffstats
path: root/nginx/pie_in_the_sky_kitchen.sls
blob: 90e94cd61f7cccb8ebda792365601032b5b5bace (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
nginx:
  servers:
    managed:
      pie-in-the-sky.kitchen:
        enabled: True
        config:
          - server:
            - server_name: pie-in-the-sky.kitchen
            - listen: 80
            - listen: '[::]:80'

            - location /.well-known/acme-challenge:
              - root: /srv/http

            - location /:
              - return: '301 https://$server_name$request_uri'

# vim: ft=yaml et: