2022-12-02 09:05:42 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
|
|
services.nginx = {
|
|
|
|
enable = true;
|
|
|
|
virtualHosts."social.krebsco.de" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
2023-12-12 14:13:22 +01:00
|
|
|
acmeFallbackHost = "hotdog.r";
|
2022-12-02 09:05:42 +01:00
|
|
|
locations."/" = {
|
|
|
|
# TODO use this in 22.11
|
2023-12-12 19:12:20 +01:00
|
|
|
recommendedProxySettings = true;
|
|
|
|
proxyPass = "https://hotdog.r";
|
2022-12-02 09:05:42 +01:00
|
|
|
proxyWebsockets = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|