diff options
| author | 2024-07-06 15:37:34 +0200 | |
|---|---|---|
| committer | 2024-07-22 19:01:01 +0200 | |
| commit | 2be26a4d811e970764ec32a493fc7d3b2f939f1a (patch) | |
| tree | b51df941760cdb71a550692f1bd9696f83cd4617 /ansible/host_vars/lovelace | |
| parent | Disable DNS proxying via CF (diff) | |
Remove deployments on turing
Files of the webserver have been migrated over.
Diffstat (limited to 'ansible/host_vars/lovelace')
| -rw-r--r-- | ansible/host_vars/lovelace/nginx.yml | 11 | ||||
| -rw-r--r-- | ansible/host_vars/lovelace/prometheus.yml | 1 |
2 files changed, 11 insertions, 1 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 |