|
|
|
@ -360,7 +360,7 @@ let |
|
|
|
|
${optionalString (config.alias != null) "alias ${config.alias};"} |
|
|
|
|
${optionalString (config.return != null) "return ${config.return};"} |
|
|
|
|
${config.extraConfig} |
|
|
|
|
${optionalString (config.proxyPass != null && cfg.recommendedProxySettings) "include ${recommendedProxyConfig};"} |
|
|
|
|
${optionalString (config.proxyPass != null && config.recommendedProxySettings) "include ${recommendedProxyConfig};"} |
|
|
|
|
${mkBasicAuth "sublocation" config} |
|
|
|
|
} |
|
|
|
|
'') (sortProperties (mapAttrsToList (k: v: v // { location = k; }) locations))); |
|
|
|
@ -423,7 +423,7 @@ in |
|
|
|
|
default = false; |
|
|
|
|
type = types.bool; |
|
|
|
|
description = " |
|
|
|
|
Enable recommended proxy settings. |
|
|
|
|
Whether to enable recommended proxy settings if a vhost does not specify the option manually. |
|
|
|
|
"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|