mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-08-20 15:47:24 -04:00
Ensure relative redirects
When the container port :80 is exposed as :8080 on the host, nginx redirects to http://localhost:80/login.pl with a relative path, instead of http://localhost:8080/login.pl; the container isn't bound to :80, so that request fails...
This commit is contained in:
parent
1c001cf93a
commit
bfe4971587
@ -51,7 +51,7 @@ http {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location = / {
|
location = / {
|
||||||
return 301 /login.pl;
|
return 301 login.pl;
|
||||||
}
|
}
|
||||||
|
|
||||||
# JS & CSS
|
# JS & CSS
|
||||||
|
Loading…
Reference in New Issue
Block a user