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
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Sébastien Luttringer (seblu)
Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Bartłomiej Piotrowski (Barthalion) - Wednesday, 31 August 2016, 15:19 GMT
I can't find this module in the source code (including Mercurial repository).
Comment by georg (fordprefect) - Wednesday, 31 August 2016, 15:28 GMT
source for this is this answer [0].
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
Comment by georg (fordprefect) - Wednesday, 31 August 2016, 15:43 GMT
1) solution to my problem is adding the always keyword to add_header
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

Loading...