Commit acb9bd88 authored by Alan Sparrow's avatar Alan Sparrow

Restrict URIs served by Flask

parent 97abf4fc
......@@ -14,7 +14,15 @@ server {
# Include this for certbot
root /srv/www/asselect.uk/static;
try_files $uri @ukair;
location = / {
try_files $uri @ukair;
}
location = /download {
try_files $uri @ukair;
}
location = /release {
try_files $uri @ukair;
}
}
# Static files
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment