You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
459 B
18 lines
459 B
{
|
|
services.nginx.virtualHosts."jichan.org" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
extraConfig = ''
|
|
error_page 502 /502.html;
|
|
'';
|
|
locations = {
|
|
"/" = {
|
|
proxyPass = with import ../../../../modules/tailscale/default.nix; "http://${elnuhub}:3334";
|
|
proxyWebsockets = true;
|
|
};
|
|
"/502.html".root = "${./502}";
|
|
"/logo.svg".root = "${./502}";
|
|
"/missing.min.css".root = "${./502}";
|
|
};
|
|
};
|
|
} |