diff options
Diffstat (limited to 'ansible/host_vars')
| -rw-r--r-- | ansible/host_vars/turing/nginx.yml | 13 |
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; + } + } |