004-vps-migration #5
@@ -163,6 +163,21 @@ in
|
|||||||
all.bz2
|
all.bz2
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
nginx.virtualHosts.${cfg.host} = {
|
||||||
|
forceSSL = false;
|
||||||
|
enableACME = false;
|
||||||
|
http2 = false;
|
||||||
|
listen = [
|
||||||
|
{
|
||||||
|
addr = config.my.ips.wg-server;
|
||||||
|
port = 8081;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
addr = config.my.localhost;
|
||||||
|
port = 8081;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
virtualisation.oci-containers.containers = {
|
virtualisation.oci-containers.containers = {
|
||||||
go-vod = lib.mkIf config.my.servers.go-vod.enable {
|
go-vod = lib.mkIf config.my.servers.go-vod.enable {
|
||||||
@@ -239,22 +254,10 @@ in
|
|||||||
my.servers.nextcloud.useDefaultProxy = false;
|
my.servers.nextcloud.useDefaultProxy = false;
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"${cfg.host}" = {
|
"${cfg.host}" = {
|
||||||
forceSSL = false; # vps
|
forceSSL = true;
|
||||||
enableACME = false; # vps
|
enableACME = true;
|
||||||
http2 = false; # vps
|
http2 = true;
|
||||||
default = true; # vps
|
default = true;
|
||||||
#vps
|
|
||||||
listen = [
|
|
||||||
{
|
|
||||||
addr = config.my.ips.wg-server;
|
|
||||||
port = 8081;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
addr = config.my.localhost;
|
|
||||||
port = 8081;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
#vps
|
|
||||||
serverAliases = [ "cloud.rotehaare.art" ];
|
serverAliases = [ "cloud.rotehaare.art" ];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
add_header X-XSS-Protection "1; mode=block" always;
|
add_header X-XSS-Protection "1; mode=block" always;
|
||||||
|
|||||||
Reference in New Issue
Block a user