From 4dc9847dd764aecb36b3fe94184982f729aa0005 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Thu, 30 May 2019 16:51:30 +0200 Subject: Add initial repsys entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- nginx/repsys_kyriasis_com.sls | 19 +++++++++++++++++++ top.sls | 1 + 2 files changed, 20 insertions(+) create mode 100644 nginx/repsys_kyriasis_com.sls 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: diff --git a/top.sls b/top.sls index d6b7f83..cecc3f6 100644 --- a/top.sls +++ b/top.sls @@ -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 -- cgit v1.2.3-70-g09d2