mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
fix(nginx): disable absolute redirects
This commit is contained in:
parent
3e5c5f3130
commit
2c764ddf9a
2 changed files with 12 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ in {
|
|||
then "bmap"
|
||||
else "dmap";
|
||||
in {
|
||||
return = "302 ${xvars.get.scheme}://${xvars.get.host}/minecraft/${defaultMap}/";
|
||||
return = "302 /minecraft/${defaultMap}/";
|
||||
};
|
||||
"/minecraft/dmap/" = mkIf minecraft.ports.dynmap.enable {
|
||||
proxy = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue