aboutsummaryrefslogtreecommitdiffstats
path: root/roles/nginx/files/files.pydis.wtf
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2023-08-12 19:01:01 +0100
committerGravatar GitHub <[email protected]>2023-08-12 19:01:01 +0100
commitaa96ceb9f5481a4da9f4a16dff92d05acc48687d (patch)
tree69c6ec1455ddf717f52576d3278485d66bdc81d3 /roles/nginx/files/files.pydis.wtf
parentAdd meeting notes for today (diff)
Serve static files from Turing (#116)
* Redirect http requests to https * Remove default NGINX site * Remove trailing whitespace from old meeting note * Mount static files * Correct capitalisation of notify directives * Add missing children key to inventory
Diffstat (limited to 'roles/nginx/files/files.pydis.wtf')
-rw-r--r--roles/nginx/files/files.pydis.wtf10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/nginx/files/files.pydis.wtf b/roles/nginx/files/files.pydis.wtf
new file mode 100644
index 0000000..db8416e
--- /dev/null
+++ b/roles/nginx/files/files.pydis.wtf
@@ -0,0 +1,10 @@
+# Managed by Ansible
+server {
+ listen 443;
+ server_name files.pydis.wtf;
+ root /var/www/turing;
+
+ location / {
+ try_files $uri $uri/;
+ }
+}