summaryrefslogtreecommitdiffstats
path: root/nginx/remmy_foo.sls
blob: e0b57d6c2fd5787e611b3dc6a7e5ff83930b9210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
nginx:
  servers:
    managed:
      remmy.foo:
        enabled: True
        config:
          - server:
            - server_name: remmy.foo
            - listen: 80
            - listen: '[::]:80'

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

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

# vim: ft=yaml et: