fix cert
This commit is contained in:
@@ -50,15 +50,8 @@ in {
|
|||||||
more_set_headers "Permissions-Policy: geolocation=(), microphone=()";
|
more_set_headers "Permissions-Policy: geolocation=(), microphone=()";
|
||||||
'';
|
'';
|
||||||
|
|
||||||
virtualHosts = {
|
virtualHosts = let
|
||||||
"kopatz.ddns.net" = {
|
kopConfig = {
|
||||||
serverAliases = [
|
|
||||||
"kop.oasch.net"
|
|
||||||
# "server.home"
|
|
||||||
# "server.home.arpa"
|
|
||||||
# "192.168.0.6"
|
|
||||||
# "localhost"
|
|
||||||
];
|
|
||||||
root = pkgs.kop-website;
|
root = pkgs.kop-website;
|
||||||
forceSSL = cfg.https;
|
forceSSL = cfg.https;
|
||||||
enableACME = cfg.https;
|
enableACME = cfg.https;
|
||||||
@@ -69,7 +62,7 @@ in {
|
|||||||
add_header Access-Control-Allow-Origin *;
|
add_header Access-Control-Allow-Origin *;
|
||||||
'';
|
'';
|
||||||
"/stash" = {
|
"/stash" = {
|
||||||
basicAuthFile = config.age.secrets.stash-auth.path;
|
basicAuthFile = config.age.secrets.stash-auth.path;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
client_max_body_size 5000M;
|
client_max_body_size 5000M;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
@@ -92,6 +85,9 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
in {
|
||||||
|
"kopatz.ddns.net" = kopConfig;
|
||||||
|
"kop.oasch.net" = kopConfig;
|
||||||
#discord bot for tracking useractivity public version
|
#discord bot for tracking useractivity public version
|
||||||
"activitytracker.site" = {
|
"activitytracker.site" = {
|
||||||
#serverAliases = [
|
#serverAliases = [
|
||||||
|
|||||||
Reference in New Issue
Block a user