mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
fix: refactoring mistakes; and add generator for initrd_host_ed25519_key
This commit is contained in:
parent
abdf363fba
commit
1b42e0cd72
8 changed files with 19 additions and 11 deletions
|
@ -34,17 +34,17 @@ in {
|
|||
import common
|
||||
|
||||
reverse_proxy {
|
||||
to http://${config.services.vaultwarden.settings.ROCKET_ADDRESS}:${toString config.services.vaultwarden.settings.ROCKET_PORT}
|
||||
to http://${config.services.vaultwarden.config.rocketAddress}:${toString config.services.vaultwarden.config.rocketPort}
|
||||
header_up X-Real-IP {remote_host}
|
||||
}
|
||||
|
||||
reverse_proxy /notifications/hub {
|
||||
to http://${config.services.vaultwarden.settings.WEBSOCKET_ADDRESS}:${toString config.services.vaultwarden.settings.WEBSOCKET_PORT}
|
||||
to http://${config.services.vaultwarden.config.websocketAddress}:${toString config.services.vaultwarden.config.websocketPort}
|
||||
header_up X-Real-IP {remote_host}
|
||||
}
|
||||
|
||||
reverse_proxy /notifications/hub/negotiate {
|
||||
to http://${config.services.vaultwarden.settings.ROCKET_ADDRESS}:${toString config.services.vaultwarden.settings.ROCKET_PORT}
|
||||
to http://${config.services.vaultwarden.config.rocketAddress}:${toString config.services.vaultwarden.config.rocketPort}
|
||||
header_up X-Real-IP {remote_host}
|
||||
}
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue