feat: exposing urls instead of ports

This commit is contained in:
Harry 2024-08-12 21:12:38 +02:00
parent bd82b8c94c
commit 12b1ae8207

View file

@ -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
'';
};
}