fix file name and host variable

This commit is contained in:
aptalca 2019-07-08 16:56:25 -04:00
parent d831c917c5
commit d11f02fbcd

View file

@ -1,7 +1,7 @@
# adminer does not require a base url setting
# adminer does not require a base url setting, but the container needs to be named adminer
location /adminer {
return 301 $scheme://$http_host/adminer/;
return 301 $scheme://$host/adminer/;
}
location ^~ /adminer/ {
# enable the next two lines for http auth