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;
|
||||
recommendedTlsSettings = true;
|
||||
commonHttpConfig = ''
|
||||
error_page 404 = @youtube;
|
||||
location @youtube {
|
||||
return 302 https://www.youtube.com/watch?v=dQw4w9WgXcQ;
|
||||
}
|
||||
error_page 404 =302 https://www.youtube.com/watch?v=dQw4w9WgXcQ;
|
||||
'';
|
||||
};
|
||||
# enable acme for auto ssl certs with lets encrypt
|
||||
@@ -41,10 +38,10 @@ in
|
||||
root = "/var/www/keys";
|
||||
locations."/" = {
|
||||
index = "klefki_pub.asc";
|
||||
extraConfig =
|
||||
"add_header Content-Disposition "attachment; filename=klefki_pub.asc;" +
|
||||
"default_type application/pgp-keys;"
|
||||
;
|
||||
extraConfig = ''
|
||||
add_header Content-Disposition attachment; "filename=klefki_pub.asc";
|
||||
default_type application/pgp-keys;
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user