334 current 2025-10-11 20:16:52 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -17,10 +17,7 @@ in
|
|||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
commonHttpConfig = ''
|
commonHttpConfig = ''
|
||||||
error_page 404 = @youtube;
|
error_page 404 =302 https://www.youtube.com/watch?v=dQw4w9WgXcQ;
|
||||||
location @youtube {
|
|
||||||
return 302 https://www.youtube.com/watch?v=dQw4w9WgXcQ;
|
|
||||||
}
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
# enable acme for auto ssl certs with lets encrypt
|
# enable acme for auto ssl certs with lets encrypt
|
||||||
@@ -41,10 +38,10 @@ in
|
|||||||
root = "/var/www/keys";
|
root = "/var/www/keys";
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
index = "klefki_pub.asc";
|
index = "klefki_pub.asc";
|
||||||
extraConfig =
|
extraConfig = ''
|
||||||
"add_header Content-Disposition "attachment; filename=klefki_pub.asc;" +
|
add_header Content-Disposition attachment; "filename=klefki_pub.asc";
|
||||||
"default_type application/pgp-keys;"
|
default_type application/pgp-keys;
|
||||||
;
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user