aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/host_vars
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2024-07-06 15:37:34 +0200
committerGravatar Johannes Christ <[email protected]>2024-07-22 19:01:01 +0200
commit2be26a4d811e970764ec32a493fc7d3b2f939f1a (patch)
treeb51df941760cdb71a550692f1bd9696f83cd4617 /ansible/host_vars
parentDisable DNS proxying via CF (diff)
Remove deployments on turing
Files of the webserver have been migrated over.
Diffstat (limited to 'ansible/host_vars')
-rw-r--r--ansible/host_vars/lovelace/nginx.yml11
-rw-r--r--ansible/host_vars/lovelace/prometheus.yml1
-rw-r--r--ansible/host_vars/turing/nginx.yml13
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;
- }
- }