aboutsummaryrefslogtreecommitdiff
path: root/modules/services/proxy
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services/proxy')
-rw-r--r--modules/services/proxy/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/services/proxy/default.nix b/modules/services/proxy/default.nix
new file mode 100644
index 0000000..e11beab
--- /dev/null
+++ b/modules/services/proxy/default.nix
@@ -0,0 +1,9 @@
+{ pkgs, ... }:
+{
+ services.caddy = {
+ enable = true;
+ package = pkgs.caddy;
+ };
+
+ networking.firewall.allowedTCPPorts = [ 80 443 ];
+}