1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-20 19:05:40 +02:00
Commit Graph

13 Commits

Author SHA1 Message Date
Jakub Klinkovský
fc4088d795 Added robots.txt for archmanweb 2021-07-28 20:28:44 +02:00
Jakub Klinkovský
3fa976c83e Update archmanweb to v1.2
Co-authored-by: Kristian Klausen <kristian@klausen.dk>
2021-06-15 02:40:51 +02:00
Jakub Klinkovský
93bb68268b
archmanweb: fix path to favicon.ico 2021-05-18 21:53:10 +02:00
Jelle van der Waa
73a212edb2
Rate limit man.archlinux.org
Limit man.archlinux.org to reduce the impact of one potential abuser on
the availability. This returns too many request when running oha with 10
connections. This does not fully negate the issue, later the abuser
should be automatically fail2ban'd.
2021-05-18 20:46:32 +02:00
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
Kristian Klausen
4112bdf9fd Make ansible-lint happy
yaml: truthy value should be one of [false, true] (truthy)
yaml: wrong indentation: expected 4 but found 2 (indentation)
yaml: too few spaces before comment (comments)
yaml: missing starting space in comment (comments)
yaml: too many blank lines (1 > 0) (empty-lines)
yaml: too many spaces after colon (colons)
yaml: comment not indented like content (comments-indentation)
yaml: no new line character at the end of file (new-line-at-end-of-file)
load-failure: Failed to load or parse file
parser-error: couldn't resolve module/action 'hosts'. This often indicates a misspelling, missing collection, or incorrect module path.
2021-02-14 14:22:05 +01:00
Sven-Hendrik Haase
8327ffd974
Deploy man.archlinux.org 2021-01-11 14:55:29 +01:00
Jakub Klinkovský
bc7d28c726
Remove archmanweb_version from defaults as it should be set from the host's config 2021-01-11 00:01:15 +01:00
Jakub Klinkovský
46dfed641a
Update archmanweb URL from GitHub to GitLab 2021-01-11 00:01:15 +01:00
Jakub Klinkovský
61d1e4c072
Add task to build archlinux-common-style 2021-01-11 00:01:15 +01:00
Jakub Klinkovský
6b42f2d5fc
Simplify settings for archmanweb 2021-01-11 00:01:15 +01:00
Jakub Klinkovský
20d655d4cf
Create the archmanweb role 2021-01-11 00:01:14 +01:00