feat: Added basic_proxy

This commit is contained in:
uttarayan21
2024-11-22 11:21:53 +02:00
parent a7ae9a08be
commit f4f908c83e
2 changed files with 3 additions and 3 deletions

View File

@@ -63,8 +63,8 @@
reverse_proxy localhost:8080
'';
virtualHosts."llama.darksailor.dev".extraConfig = ''
reverse_proxy localhost:3000
basicauth / {
reverse_proxy / localhost:3000
basic_auth /* {
import htpasswd ${config.sops.secrets."llama/user".path}
}
'';