remove rewrite rule

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2022-01-15 18:48:27 -08:00
parent 29b86dd15a
commit e81a616836
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -94,10 +94,6 @@ http {
ssl_certificate /etc/ssl/certs/web.cert.pem;
ssl_certificate_key /etc/ssl/private/web.key.pem;
# Rewrite trailing slashes; AURWEB_FASTAPI_PREFIX should
# be replaced with the desired FastAPI base url.
rewrite ^/(.*)/$ AURWEB_FASTAPI_PREFIX/$1 permanent;
location ~ ^/[^\/]+\.gz$ {
# Override mime type to text/plain.
types { text/plain gz; }