authorgravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2024-05-20 17:25:29-07:00
committergravatar for nmarks413@gmail.comNatalie Marks <nmarks413@gmail.com> 2024-05-20 17:25:29-07:00
log3e85052667630a6ef62a5154f4fce74d32621476
treef4c86b8e4d8e2091d9ec987d5db8447214214c87
parentf7f6a0e7b533d218ecf2f05ed38892857a2b2fa6

updated system config


1 files changed, 19 insertions(+), 7 deletions(-)

configuration.nix+19-7
......@@ -2,6 +2,7 @@
22# your system. Help is available in the configuration.nix(5) man page
33# and in the NixOS manual (accessible by running ‘nixos-help’).
44{
5 inputs,
56 config,
67 pkgs,
78 ...
......@@ -26,6 +27,13 @@
2627 };
2728 };
2829
30 services.foundryvtt = {
31 enable = true;
32 hostName = "pathfinder2.duckdns.org";
33 proxySSL = true;
34 proxyPort = 443;
35 };
36
2937 services.caddy = {
3038 enable = true;
3139
......@@ -45,14 +53,17 @@
4553 # reverse_proxy localhost:30000
4654 # encode zstd gzip
4755 # '';
48
49 extraConfig = ''
50 pathfinder2e.duckdns.org {
51 # PROXY ALL REQUEST TO PORT 30000
52 reverse_proxy localhost:30000
53 encode zstd gzip
54 }
56 virtualHosts."pathfinder2e.duckdns.org".extraConfig = ''
57 reverse_proxy localhost:30000
5558 '';
59
60 # extraConfig = ''
61 # pathfinder2e.duckdns.org {
62 # # PROXY ALL REQUEST TO PORT 30000
63 # reverse_proxy localhost:30000
64 # encode zstd gzip
65 # }
66 # '';
5667 };
5768
5869 services.flatpak.enable = true;
......@@ -96,6 +107,7 @@
96107 imports = [
97108 # Include the results of the hardware scan.
98109 ./hardware-configuration.nix
110 inputs.foundryvtt.nixosModules.foundryvtt
99111 ];
100112
101113 # Enable OpenGL