mirror of
https://github.com/thiloho/thiloho.github.io.git
synced 2025-11-22 02:11:35 +01:00
Set redlib configuration
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
@@ -50,9 +50,18 @@
|
||||
"redlib.thilohohlt.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:${toString config.services.redlib.port}";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
redlib = {
|
||||
enable = true;
|
||||
port = 2222;
|
||||
address = "127.0.0.1";
|
||||
};
|
||||
};
|
||||
|
||||
security = {
|
||||
|
||||
Reference in New Issue
Block a user