updated system config
This commit is contained in:
parent
f7f6a0e7b5
commit
3e85052667
1 changed files with 19 additions and 7 deletions
|
@ -2,6 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
{
|
{
|
||||||
|
inputs,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
|
@ -26,6 +27,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.foundryvtt = {
|
||||||
|
enable = true;
|
||||||
|
hostName = "pathfinder2.duckdns.org";
|
||||||
|
proxySSL = true;
|
||||||
|
proxyPort = 443;
|
||||||
|
};
|
||||||
|
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
@ -45,14 +53,17 @@
|
||||||
# reverse_proxy localhost:30000
|
# reverse_proxy localhost:30000
|
||||||
# encode zstd gzip
|
# encode zstd gzip
|
||||||
# '';
|
# '';
|
||||||
|
virtualHosts."pathfinder2e.duckdns.org".extraConfig = ''
|
||||||
extraConfig = ''
|
reverse_proxy localhost:30000
|
||||||
pathfinder2e.duckdns.org {
|
|
||||||
# PROXY ALL REQUEST TO PORT 30000
|
|
||||||
reverse_proxy localhost:30000
|
|
||||||
encode zstd gzip
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# extraConfig = ''
|
||||||
|
# pathfinder2e.duckdns.org {
|
||||||
|
# # PROXY ALL REQUEST TO PORT 30000
|
||||||
|
# reverse_proxy localhost:30000
|
||||||
|
# encode zstd gzip
|
||||||
|
# }
|
||||||
|
# '';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
|
@ -96,6 +107,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
inputs.foundryvtt.nixosModules.foundryvtt
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable OpenGL
|
# Enable OpenGL
|
||||||
|
|
Loading…
Reference in a new issue