mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
fix(vouch): https redirects
This commit is contained in:
parent
467df9395e
commit
70af593a5f
1 changed files with 1 additions and 1 deletions
|
|
@ -20,6 +20,7 @@ in {
|
||||||
"http://${host}:${toString cfg.settings.vouch.port}";
|
"http://${host}:${toString cfg.settings.vouch.port}";
|
||||||
locations = {
|
locations = {
|
||||||
"/" = {
|
"/" = {
|
||||||
|
ssl.force = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
proxy_redirect default;
|
proxy_redirect default;
|
||||||
set $x_proxy_host $x_forwarded_host;
|
set $x_proxy_host $x_forwarded_host;
|
||||||
|
|
@ -56,7 +57,6 @@ in {
|
||||||
"/".proxyPass = mkIf cfg.enable (mkDefault localVouchUrl);
|
"/".proxyPass = mkIf cfg.enable (mkDefault localVouchUrl);
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
ssl.force = true;
|
|
||||||
};
|
};
|
||||||
vouch'local = {
|
vouch'local = {
|
||||||
name = {
|
name = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue