You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.0 KiB
Nix
35 lines
1.0 KiB
Nix
{ config, pkgs, ...}: let
|
|
meleteWithWebsockets = {
|
|
locations."/" = {
|
|
proxyPass = "https://melete.tempest.dev/";
|
|
extraConfig = ''
|
|
proxy_set_header Host $host;
|
|
'';
|
|
proxyWebsockets = true;
|
|
};
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
};
|
|
in {
|
|
|
|
|
|
services.nginx.virtualHosts."phantomthieves.net" = meleteWithWebsockets;
|
|
services.nginx.virtualHosts."forum.phantomthieves.net" = meleteWithWebsockets;
|
|
services.nginx.virtualHosts."necronomicon.social" = meleteWithWebsockets;
|
|
services.nginx.virtualHosts."elk.tempest.dev" = meleteWithWebsockets;
|
|
services.nginx.virtualHosts."m.phantomthieves.net" = meleteWithWebsockets;
|
|
services.nginx.virtualHosts."social.25jinightcord.de" = meleteWithWebsockets;
|
|
|
|
services.nginx.virtualHosts."25jinightcord.de" = {
|
|
locations."/.well-known/" = {
|
|
proxyPass = "https://melete.tempest.dev/";
|
|
extraConfig = ''
|
|
proxy_set_header Host $host;
|
|
'';
|
|
proxyWebsockets = true;
|
|
};
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
};
|
|
}
|