diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2019-05-30 16:51:30 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2019-05-30 16:51:30 +0200 |
commit | 4dc9847dd764aecb36b3fe94184982f729aa0005 (patch) | |
tree | e428d3318c126b27285ce6695c6e2e7b9cf1d9e8 | |
parent | 665798be7fb87176efab913c6a29191dad137b79 (diff) | |
download | pillar-4dc9847dd764aecb36b3fe94184982f729aa0005.tar.xz |
Add initial repsys entry
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r-- | nginx/repsys_kyriasis_com.sls | 19 | ||||
-rw-r--r-- | top.sls | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/nginx/repsys_kyriasis_com.sls b/nginx/repsys_kyriasis_com.sls new file mode 100644 index 0000000..55de888 --- /dev/null +++ b/nginx/repsys_kyriasis_com.sls @@ -0,0 +1,19 @@ +nginx: + ng: + servers: + managed: + repsys.kyriasis.com: + enabled: True + config: + - server: + - server_name: repsys.kyriasis.com + - listen: 80 + - listen: '[::]:80' + + - location /.well-known/acme-challenge: + - root: /srv/http + + - location /: + - return: '301 https://$server_name$request_uri' + +# vim: ft=yaml et: @@ -9,6 +9,7 @@ base: - nginx.riot_kyriasis_com - nginx.miniflux_kyriasis_com - nginx.grafana_kyriasis_com + - nginx.repsys_kyriasis_com - nginx.remmy_io - opensmtpd.theos |