blob: b579a5031897e7b1f31b584277d22a5d10e12078 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{ 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;
};
};
};
}
|