aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/host_vars/turing
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-06-02 13:39:03 +0100
committerGravatar Joe Banks <[email protected]>2024-06-02 13:45:14 +0100
commit2be6b9c30c7a8332019c524494fe289be5645c6e (patch)
tree7ce6e3d5f5286c9115453f713786e121138ff119 /ansible/host_vars/turing
parentAdd NGINX deployment to lovelace (diff)
Move files config to new NGINX turing host variables
Diffstat (limited to 'ansible/host_vars/turing')
-rw-r--r--ansible/host_vars/turing/nginx.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/ansible/host_vars/turing/nginx.yml b/ansible/host_vars/turing/nginx.yml
new file mode 100644
index 0000000..8d11373
--- /dev/null
+++ b/ansible/host_vars/turing/nginx.yml
@@ -0,0 +1,13 @@
+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;
+ }
+ }