fix proxy locations for minio service
This commit is contained in:
@@ -80,11 +80,14 @@
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
acmeRoot = null;
|
acmeRoot = null;
|
||||||
locations."/" = {
|
locations."/dev" = {
|
||||||
proxyPass = "http://localhost:${toString opts.dataPort}";
|
proxyPass = "http://localhost:${toString opts.dataPort}/dev";
|
||||||
};
|
};
|
||||||
locations."/console/" = {
|
locations."/prod" = {
|
||||||
proxyPass = "http://localhost:${toString opts.consolePort}";
|
proxyPass = "http://localhost:${toString opts.dataPort}/prod";
|
||||||
|
};
|
||||||
|
locations."/console" = {
|
||||||
|
proxyPass = "http://localhost:${toString opts.consolePort}/browser";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -97,3 +100,4 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user