mirror of
https://github.com/Superredstone/nixos.git
synced 2026-06-17 15:24:39 +02:00
feat(caddy): add personal website
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"patrickcanal.it".extraConfig = ''
|
||||
root /var/www/patrickcanal.it/public
|
||||
file_server
|
||||
'';
|
||||
"vaultwarden.patrickcanal.it".extraConfig = ''
|
||||
encode zstd gzip
|
||||
reverse_proxy :${toString config.services.vaultwarden.config.ROCKET_PORT} {
|
||||
|
||||
Reference in New Issue
Block a user