This commit is contained in:
parent
02eb3b5599
commit
46d5bf8e49
2 changed files with 9 additions and 7 deletions
|
|
@ -28,7 +28,9 @@ in
|
|||
|
||||
services.caddy.virtualHosts."${domain}" = {
|
||||
extraConfig = ''
|
||||
reverse_proxy localhost:${builtins.toString config.services.vaultwarden.config.ROCKET_PORT}
|
||||
reverse_proxy localhost:${builtins.toString config.services.vaultwarden.config.ROCKET_PORT} {
|
||||
header_up X-Real-IP {remote_host}
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue