FS#50568 - [nginx] enable Module ngx_http_headers_module
Attached to Project:
Arch Linux
Opened by georg (fordprefect) - Monday, 29 August 2016, 13:49 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 18 November 2016, 20:08 GMT
Opened by georg (fordprefect) - Monday, 29 August 2016, 13:49 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 18 November 2016, 20:08 GMT
|
Details
The module ngx_http_headers_module allows to send additional
http headers [0]. It could be useful in a number of cases,
like sending security headers despite a pending http auth
request.
In the current build nginx 1.10.1-1 this in not enabled. Sadly I was not able to find the exact configure switch, but a more knowledged person might be more lucky. [0] http://nginx.org/en/docs/http/ngx_http_headers_module.html |
This task depends upon
Closed by Bartłomiej Piotrowski (Barthalion)
Friday, 18 November 2016, 20:08 GMT
Reason for closing: Not a bug
Friday, 18 November 2016, 20:08 GMT
Reason for closing: Not a bug
I have to admit that the described directive more_add_header is not even documented in either directive index of nginx nor the originally linked page supposed to be the documentation of this feature.
i'll seek for more information on this and will report back.
[0] https://serverfault.com/questions/628448/nginx-hsts-on-a-page-with-www-authentication
2) the mentioned module is a 3rdparty module [0] and is thus not shipped with nginx. as we ship vanilla packages, this wont be included. if needed, this is a case for AUR then, i think
this sorted out, this issue might be closed.
[0] https://github.com/openresty/headers-more-nginx-module