perhaps, just maybe perhaps, don't expose everything...
This commit is contained in:
parent
059468a2d5
commit
941801e94f
2 changed files with 27 additions and 26 deletions
|
@ -90,35 +90,27 @@ in
|
||||||
caddy = {
|
caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"ping.kruining.eu".extraConfig = ''
|
|
||||||
respond "OK"
|
|
||||||
'';
|
|
||||||
"media.kruining.eu".extraConfig = ''
|
"media.kruining.eu".extraConfig = ''
|
||||||
reverse_proxy http://127.0.0.1:9494
|
reverse_proxy http://127.0.0.1:9494
|
||||||
'';
|
'';
|
||||||
"series.kruining.eu".extraConfig = ''
|
# "series.kruining.eu".extraConfig = ''
|
||||||
reverse_proxy http://127.0.0.1:8989
|
# reverse_proxy http://127.0.0.1:8989
|
||||||
'';
|
# '';
|
||||||
"movies.kruining.eu".extraConfig = ''
|
# "movies.kruining.eu".extraConfig = ''
|
||||||
reverse_proxy http://127.0.0.1:7878
|
# reverse_proxy http://127.0.0.1:7878
|
||||||
'';
|
# '';
|
||||||
"jellyfin.kruining.eu".extraConfig = ''
|
# "jellyfin.kruining.eu".extraConfig = ''
|
||||||
reverse_proxy http://127.0.0.1:8096
|
# reverse_proxy http://127.0.0.1:8096
|
||||||
'';
|
# '';
|
||||||
"indexer.kruining.eu".extraConfig = ''
|
# "indexer.kruining.eu".extraConfig = ''
|
||||||
reverse_proxy http://127.0.0.1:9696
|
# reverse_proxy http://127.0.0.1:9696
|
||||||
'';
|
# '';
|
||||||
"torrents.kruining.eu".extraConfig = ''
|
# "torrents.kruining.eu".extraConfig = ''
|
||||||
reverse_proxy http://127.0.0.1:58080
|
# reverse_proxy http://127.0.0.1:58080
|
||||||
'';
|
# '';
|
||||||
"usenet.kruining.eu".extraConfig = ''
|
# "usenet.kruining.eu".extraConfig = ''
|
||||||
reverse_proxy http://127.0.0.1:8080
|
# reverse_proxy http://127.0.0.1:8080
|
||||||
'';
|
# '';
|
||||||
"cloud.kruining.eu".extraConfig = ''
|
|
||||||
php_fastcgi unix//run/phpfpm/nextcloud.sock {
|
|
||||||
env front_controller_active true
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -46,5 +46,14 @@ in
|
||||||
Install.WantedBy = [ "multi-user.target" "timers.target" ];
|
Install.WantedBy = [ "multi-user.target" "timers.target" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.caddy = {
|
||||||
|
enable = true;
|
||||||
|
virtualHosts."cloud.kruining.eu".extraConfig = ''
|
||||||
|
php_fastcgi unix//run/phpfpm/nextcloud.sock {
|
||||||
|
env front_controller_active true
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue