Format files

This commit is contained in:
Eric Nemchik 2023-02-12 20:51:33 -06:00
commit 0eb569982b
16 changed files with 52 additions and 51 deletions

View file

@ -53,7 +53,7 @@ server {
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
# This allows access to the documentation for the api
location ~ (/ombi)?/swagger {
@ -64,9 +64,9 @@ server {
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
}
}
if ($http_referer ~* /ombi) {
rewrite ^/swagger/(.*) /ombi/swagger/$1? redirect;
}
if ($http_referer ~* /ombi) {
rewrite ^/swagger/(.*) /ombi/swagger/$1? redirect;
}
}