mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 07:00:21 +02:00
feat: exposing urls instead of ports
This commit is contained in:
parent
bd82b8c94c
commit
12b1ae8207
1 changed files with 20 additions and 3 deletions
|
@ -2,13 +2,30 @@
|
||||||
{
|
{
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts.":80".extraConfig = ''
|
|
||||||
reverse_proxy :8082
|
|
||||||
'';
|
|
||||||
|
|
||||||
virtualHosts.":5050".extraConfig = ''
|
virtualHosts.":5050".extraConfig = ''
|
||||||
reverse_proxy :8083
|
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…
Add table
Add a link
Reference in a new issue