|
|
@ -1,5 +1,5 @@
|
|
|
|
{ config, pkgs, ...}: {
|
|
|
|
{ config, pkgs, ...}: let
|
|
|
|
services.nginx.virtualHosts."phantomthieves.net" = {
|
|
|
|
meleteWithWebsockets = {
|
|
|
|
locations."/" = {
|
|
|
|
locations."/" = {
|
|
|
|
proxyPass = "https://melete.tempest.dev/";
|
|
|
|
proxyPass = "https://melete.tempest.dev/";
|
|
|
|
extraConfig = ''
|
|
|
|
extraConfig = ''
|
|
|
@ -10,41 +10,18 @@
|
|
|
|
forceSSL = true;
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
enableACME = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
in {
|
|
|
|
|
|
|
|
|
|
|
|
services.nginx.virtualHosts."forum.phantomthieves.net" = {
|
|
|
|
|
|
|
|
locations."/" = {
|
|
|
|
|
|
|
|
proxyPass = "https://melete.tempest.dev/";
|
|
|
|
|
|
|
|
extraConfig = ''
|
|
|
|
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
forceSSL = true;
|
|
|
|
|
|
|
|
enableACME = true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
services.nginx.virtualHosts."necronomicon.social" = {
|
|
|
|
services.nginx.virtualHosts."phantomthieves.net" = meleteWithWebsockets;
|
|
|
|
locations."/" = {
|
|
|
|
services.nginx.virtualHosts."forum.phantomthieves.net" = meleteWithWebsockets;
|
|
|
|
proxyPass = "https://melete.tempest.dev/";
|
|
|
|
services.nginx.virtualHosts."necronomicon.social" = meleteWithWebsockets;
|
|
|
|
extraConfig = ''
|
|
|
|
services.nginx.virtualHosts."elk.tempest.dev" = meleteWithWebsockets;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
services.nginx.virtualHosts."m.phantomthieves.net" = meleteWithWebsockets;
|
|
|
|
'';
|
|
|
|
services.nginx.virtualHosts."social.25jinightcord.de" = meleteWithWebsockets;
|
|
|
|
proxyWebsockets = true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
forceSSL = true;
|
|
|
|
|
|
|
|
enableACME = true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
services.nginx.virtualHosts."elk.tempest.dev" = {
|
|
|
|
services.nginx.virtualHosts."25jinightcord.de" = {
|
|
|
|
locations."/" = {
|
|
|
|
locations."/.well-known/" = {
|
|
|
|
proxyPass = "http://melete.tempest.local:5314";
|
|
|
|
|
|
|
|
proxyWebsockets = true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
forceSSL = true;
|
|
|
|
|
|
|
|
enableACME = true;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
services.nginx.virtualHosts."m.phantomthieves.net" = {
|
|
|
|
|
|
|
|
locations."/" = {
|
|
|
|
|
|
|
|
proxyPass = "https://melete.tempest.dev/";
|
|
|
|
proxyPass = "https://melete.tempest.dev/";
|
|
|
|
extraConfig = ''
|
|
|
|
extraConfig = ''
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
proxy_set_header Host $host;
|
|
|
|