summaryrefslogtreecommitdiffstats
path: root/nginx/gallery_remmy_foo.sls
blob: a58379fa3897af2aef9dea347558260447f727e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
nginx:
  servers:
    managed:
      gallery.remmy.foo:
        enabled: True
        config:
          - server:
            - server_name: gallery.remmy.foo
            - listen: 80
            - listen: '[::]:80'

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

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

      gallery-static.remmy.foo:
        enabled: True
        config:
          - server:
            - server_name: gallery-static.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: