diff options
author | 2023-08-12 19:01:01 +0100 | |
---|---|---|
committer | 2023-08-12 19:01:01 +0100 | |
commit | aa96ceb9f5481a4da9f4a16dff92d05acc48687d (patch) | |
tree | 69c6ec1455ddf717f52576d3278485d66bdc81d3 /roles/nginx/files/files.pydis.wtf | |
parent | Add 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.wtf | 10 |
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/; + } +} |