- Aug 17, 2024
-
-
Kristian Klausen authored
F5/nginx has blogged about this[1] and it is also mentioned in nginx's documentation[2]: "There could be several add_header directives. These directives are inherited from the previous configuration level if and only if there are no add_header directives defined on the current level. " The problem occurs when add_header is used in a child context like a server{} or location{} block. It is solved by moving the HSTS header into a snippet, which is now included before all add_header lines. For now the HSTS header is the only global header, but in the future we may need to add more global headers, like the Alt-Svc header[3] for HTTP/3. [1] https://www.f5.com/company/blog/nginx/avoiding-top-10-nginx-configuration-mistakes#directive-inheritance [2] https://nginx.org/en/docs/http/ngx_http_headers_module.html#add_header [3] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Alt-Svc Fix #608
-
- Jun 02, 2024
-
-
> 2024/06/02 11:05:53 \[warn\] 30324#30324: the "listen ... http2" directive is deprecated, use the "http2" directive instead Fixes #589
-
- Nov 23, 2022
-
-
Jan Alexander Steffens (heftig) authored
-
- May 07, 2022
-
-
Evangelos Foutras authored
The idea bebind this is to be able to give vault access to new DevOps members without giving away more important credentials like Hetzner's.
-
- Nov 18, 2021
-
-
Jan Alexander Steffens (heftig) authored
-
Jan Alexander Steffens (heftig) authored
-
- Jul 30, 2021
-
-
Jan Alexander Steffens (heftig) authored
!473
-
- May 25, 2021
-
-
Jan Alexander Steffens (heftig) authored
The latter can cause duplicate Content-Type headers. Thanks to strcat for notifying me of the issue.
-
- May 20, 2021
-
-
Jan Alexander Steffens (heftig) authored
-
- Apr 08, 2021
-
-
A extra access_log entry was added with the following commands: $ cd roles $ grep -lr access_log | xargs -P 1 -n 1 sed -i '/access_log/ s/\(.*\)\( \)\(\(reduced\|main\);$\)/\1 \3\n\1.json json_\3/'
-
- Mar 08, 2021
-
-
Jan Alexander Steffens (heftig) authored
-
Jan Alexander Steffens (heftig) authored
-
- Feb 14, 2021
-
-
Jan Alexander Steffens (heftig) authored
Prefer using lists of maps with consistent keys.
-
- Jul 30, 2020
-
-
Jan Alexander Steffens (heftig) authored
Add federation_reader as a another worker.
-
- May 19, 2020
-
-
Jan Alexander Steffens (heftig) authored
This one has a trivial NGINX config.
-
- Sep 05, 2019
-
- May 30, 2018
-
-
Florian Pritz authored
For proxy/fastcgi/uwsgi blocks, logging is still set to the old format, but for everything else (= static data) a reduced format is used that excludes items that no longer make sense (request_time, remote_user) and those that are personal information all the time (remote_addr, http_x_forwarded_for). Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
Florian Pritz authored
Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
- May 14, 2018
-
-
Jan Alexander Steffens (heftig) authored
Joining #matrix:matrix.org takes a fucking long time.
-
- May 04, 2018
-
-
Jan Alexander Steffens (heftig) authored
-
- Feb 19, 2018
-
-
Florian Pritz authored
This is the same as used on luna and as expected by the zabbix nginx monitoring service. Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
- Oct 20, 2017
-
-
Florian Pritz authored
Signed-off-by:
Florian Pritz <bluewind@xinu.at>
-
- Mar 03, 2017
-
-
Jan Alexander Steffens (heftig) authored
-