nginx: move aliases behind config.allowAliases

This commit is contained in:
Sandro Jäckel 2023-04-12 00:45:27 +02:00
parent 0d58522055
commit 50b8c237b7
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -58,9 +58,6 @@ let
in in
let self = { let self = {
fastcgi-cache-purge = throw "fastcgi-cache-purge was renamed to cache-purge";
ngx_aws_auth = throw "ngx_aws_auth was renamed to aws-auth";
akamai-token-validate = { akamai-token-validate = {
name = "akamai-token-validate"; name = "akamai-token-validate";
src = fetchFromGitHub { src = fetchFromGitHub {
@ -1016,4 +1013,6 @@ let self = {
}; in self // lib.optionalAttrs config.allowAliases { }; in self // lib.optionalAttrs config.allowAliases {
# deprecated or renamed packages # deprecated or renamed packages
modsecurity-nginx = self.modsecurity; modsecurity-nginx = self.modsecurity;
fastcgi-cache-purge = throw "fastcgi-cache-purge was renamed to cache-purge";
ngx_aws_auth = throw "ngx_aws_auth was renamed to aws-auth";
} }