18 lines
389 B
Nix
18 lines
389 B
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
services.nginx = {
|
|
enable = true;
|
|
virtualHosts."social.krebsco.de" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
acmeFallbackHost = "hotdog.r";
|
|
locations."/" = {
|
|
# TODO use this in 22.11
|
|
recommendedProxySettings = true;
|
|
proxyPass = "https://hotdog.r";
|
|
proxyWebsockets = true;
|
|
};
|
|
};
|
|
};
|
|
}
|