diff options
Diffstat (limited to 'ansible/host_vars')
| -rw-r--r-- | ansible/host_vars/lovelace/nginx.yml | 11 | ||||
| -rw-r--r-- | ansible/host_vars/lovelace/prometheus.yml | 1 | ||||
| -rw-r--r-- | ansible/host_vars/turing/nginx.yml | 13 |
3 files changed, 11 insertions, 14 deletions
diff --git a/ansible/host_vars/lovelace/nginx.yml b/ansible/host_vars/lovelace/nginx.yml index 2179c2c..8d1080a 100644 --- a/ansible/host_vars/lovelace/nginx.yml +++ b/ansible/host_vars/lovelace/nginx.yml @@ -24,3 +24,14 @@ nginx_configs: CN=sudo.access.tls.pydis.wtf 0; CN=prometheus.access.tls.pydis.wtf 0; } + + files.pydis.wtf.conf: | + server { + listen 443; + server_name files.pydis.wtf cloud.native.is.fun.and.easy.pydis.wtf; + root /var/www/files.pydis.wtf; + + location / { + try_files $uri $uri/ =404; + } + } diff --git a/ansible/host_vars/lovelace/prometheus.yml b/ansible/host_vars/lovelace/prometheus.yml index ddda968..6dc92e2 100644 --- a/ansible/host_vars/lovelace/prometheus.yml +++ b/ansible/host_vars/lovelace/prometheus.yml @@ -63,7 +63,6 @@ prometheus_configuration: | static_configs: - targets: - lovelace.box.pydis.wtf - - turing.box.pydis.wtf relabel_configs: # Ensure that the SSH port is included explicitly diff --git a/ansible/host_vars/turing/nginx.yml b/ansible/host_vars/turing/nginx.yml deleted file mode 100644 index 8d11373..0000000 --- a/ansible/host_vars/turing/nginx.yml +++ /dev/null @@ -1,13 +0,0 @@ -nginx_default_cert_name: pydis.wtf - -nginx_configs: - files.pydis.wtf.conf: | - server { - listen 443; - server_name files.pydis.wtf cloud.native.is.fun.and.easy.pydis.wtf; - root /var/www/turing; - - location / { - try_files $uri $uri/ =404; - } - } |