1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-22 22:46:08 +02:00
Commit Graph

9 Commits

Author SHA1 Message Date
Kristian Klausen b70d04fa5c
Send the nginx logs to Loki
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/'
2021-04-08 20:33:43 +02:00
Kristian Klausen d94f18a750 Fix nginx alias traversal
[1] 641060d635/docs/en/plugins/aliastraversal.md

Fix #291
2021-04-07 19:45:32 +00:00
Jan Alexander Steffens (heftig) 93f5d62db2
nginx: Use matchless https redirection
https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/#taxing-rewrites
2019-09-05 20:50:34 +02:00
Florian Pritz f5ee7a08f5
nginx: Reduce access log content for static data
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>
2018-05-30 16:00:41 +02:00
Florian Pritz ebd659d69c
Disable access log for https redirects in nginx
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2018-05-30 15:46:48 +02:00
Florian Pritz 6bf140146d
Define and use our own log format for nginx
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>
2018-02-19 17:32:45 +01:00
Giancarlo Razzolini a6ae45573a
Proper nginx configuration
Deploy the nginx configuration needed to have patchwork working.
2017-06-27 11:07:07 -03:00
Giancarlo Razzolini 6faf5f160d
roles/patchwork: Add the configuration to return the 503 page 2017-02-09 10:33:13 -02:00
Giancarlo Razzolini 2df19e85b4
roles/patchwork: Dummy role for returning HTTP 503
Create a dummy patchwork role for returning a HTTP 503 message while
we work on updating patchwork version and carry on with gudrun decommission.
2017-02-09 10:33:12 -02:00