mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
feat: exposing urls instead of ports
This commit is contained in:
parent
bd82b8c94c
commit
12b1ae8207
|
@ -2,13 +2,30 @@
|
|||
{
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts.":80".extraConfig = ''
|
||||
reverse_proxy :8082
|
||||
'';
|
||||
|
||||
virtualHosts.":5050".extraConfig = ''
|
||||
reverse_proxy :8083
|
||||
'';
|
||||
|
||||
virtualHosts."sisyphe.normandy.hypervirtual.world".extraConfig = ''
|
||||
reverse_proxy :8003
|
||||
'';
|
||||
|
||||
virtualHosts."git.hypervirtual.world".extraConfig = ''
|
||||
reverse_proxy :3333
|
||||
'';
|
||||
|
||||
virtualHosts."photos.hypervirtual.world".extraConfig = ''
|
||||
reverse_proxy :2342
|
||||
'';
|
||||
|
||||
virtualHosts."books.hypervirtual.world".extraConfig = ''
|
||||
reverse_proxy :8083
|
||||
'';
|
||||
|
||||
virtualHosts."fish.hypervirtual.world".extraConfig = ''
|
||||
reverse_proxy :3030
|
||||
'';
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue