mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19: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}";
|
||||
locations = {
|
||||
"/" = {
|
||||
ssl.force = true;
|
||||
extraConfig = ''
|
||||
proxy_redirect default;
|
||||
set $x_proxy_host $x_forwarded_host;
|
||||
|
|
@ -56,7 +57,6 @@ in {
|
|||
"/".proxyPass = mkIf cfg.enable (mkDefault localVouchUrl);
|
||||
}
|
||||
];
|
||||
ssl.force = true;
|
||||
};
|
||||
vouch'local = {
|
||||
name = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue