Commit Graph

95 Commits

Author SHA1 Message Date
64a2738d0a
When Python changes, venv break. It should help. 2023-03-30 14:52:05 +02:00
75b5e7e2e9
https://github.com/munin-monitoring/munin/issues/1521 2023-03-28 15:01:12 +02:00
c0793b34a4
apt_all is broken on (old?) Ubuntu. 2023-03-28 14:11:57 +02:00
7c2c8b7775
backup: Lower rsnapshot verbosity: the machine can't send emails anyway, 2023-03-28 13:51:57 +02:00
9b8c5536f4
gitea: Ajout d'un lien vers 'licences libres'. 2023-03-27 11:43:32 +02:00
7589df21b3
salt-fr: Content-Security-Policy. 2023-03-23 11:15:33 +01:00
8ab6c25d89
discourse: FIX: Also allow 21m in dockerized nginx.
So there's 3 place to configure max upload body size:
- Discourse settings (Via admin web interface)
- Host nginx (via Ansible)
- Guest nginx (Via app.yml)
2023-02-14 16:11:35 +01:00
a0fdfa969d
On Debian, munin-cgi-graph is expected to run as www-data.
Proof: the graph cleaning cron is ran as www-data.
2023-02-14 09:26:20 +01:00
2cb12d55d1
nginx: Unifying logs, we're at 600+ files in /var/log/nginx, it's unusable. 2023-02-13 23:33:35 +01:00
a45cbbefcd
Hello HTTP/2 2023-02-13 22:40:47 +01:00
9281b475f7
Hello unattended upgrades. 2023-02-13 22:36:15 +01:00
67e06bfaff
Munin: Restart munin-node after adding a plugin. 2023-02-13 21:41:20 +01:00
d2d67b066b
Munin: I would love for this to work.
But: https://github.com/munin-monitoring/munin/issues/1514
2023-02-13 14:28:05 +01:00
57494ec363
Munin: Update IPs (the one for hkis04 was wrong) 2023-02-13 14:27:23 +01:00
9eb3582e39
Munin: Don't redraw graphs every 5mn, we don't look at them that often. 2023-02-13 10:49:21 +01:00
308b6c2844
munin-node apt_all update yields errors.
Like:

E: The value 'bookworm-backports' is invalid for APT::Default-Release as such a release is not available in the sources
E: The value 'bookworm-security' is invalid for APT::Default-Release as such a release is not available in the sources
E: The value 'bookworm-updates' is invalid for APT::Default-Release as
such a release is not available in the sources

But anyway « The plugin does not support this anymore. » : bc6450d8eb
2023-02-13 00:04:16 +01:00
b72753ded9
Ohh, it's handled by the munin package itself ♥. 2023-02-12 23:05:07 +01:00
5f76ae341b
exim: Disable IPv6 to avoid unavoidable blocklists.
See 889b5aa425.
2023-02-12 09:46:09 +01:00
ac13dd5a8b
A very specific PATH here can break other crons (like munin). 2023-02-01 21:57:33 +01:00
2e41276910
Add self as a email alias for root. 2023-02-01 16:16:02 +01:00
4bf259b213
Hello munin.afpy.org. 2023-02-01 16:15:12 +01:00
5edae03972
Moving Discourse to its own VPS.
The disk starts to approch 90% on deb2.

Also Discourse is huge, I do no longer feel like sharing the same
machine that so many other things (it was OK when our Discourse was
just a small test).
2023-02-01 00:06:28 +01:00
b753acc41f
It's 2023 after all. 21MB ought to be enough for anybody. 2023-01-30 22:02:11 +01:00
889b5aa425
Send emails using IPv4 due to Gandi not prividing whole /64.
SpamHaus expect the IPv6 /64 to be owned by the same entity.

This is not the case for Gandi VPS that are provided with a single
IPv6.

Gandi is working on it, they want to provide /64 to organisations, but
it's not ready yet.

In the meantime we're blocked by spamhaus since a few days on both the
/64 used by git.afpy.org and the /64 used by discuss.afpy.org.

So as a trash fix I propose sending emails using IPv4.
2023-01-17 10:04:26 +01:00
3d7bc235b1
s/include/include_task/ 2023-01-13 17:41:00 +01:00
b2af1120f9
Update SSL config.
While proofreading the config, and checking if it was up to date
according to:

- Mozilla recommandations
- SSLtest
- testssl.sh

I spotted an issue in the HSTS header:

$ curl -I https://afpy.org
[...]
Strict-Transport-Security: max-age=63072000; always

the `always` part is an nginx config token, not a cookie value.

So I simplified the conf so we can more easily copy/paste from Mozilla
generator, which obviously removed the bug.
2023-01-13 17:16:49 +01:00
4a35896c24
Allow smaller RSA keys. 2022-12-05 12:51:09 +01:00
63f31d44c5
Don't show user emails to avoid basic scrappers seeing them. 2022-12-01 10:31:41 +01:00
a0622f6c64
gitea: Allow wheels, but with a limit. 2022-11-30 12:07:55 +01:00
f9652e04fa
Procédure de restauration de sauvegarde sur git.afpy.org 2022-11-29 16:46:16 +01:00
4b4e7c352a
psql needs to be restarted to see freshly added locales. 2022-11-20 22:03:38 +01:00
c2fbdbeed9
FIX: error in when statement. 2022-11-20 21:59:08 +01:00
8990a305f4
gitea: Enable push-to-create I love this feature. 2022-11-18 15:38:57 +01:00
b31c8d95e3
Enable reStructuredText rendering. 2022-11-17 21:27:41 +01:00
eb4808516d
On upgrade, Discourse can return 500 errors too. 2022-11-09 00:25:41 +01:00
429bb00525
nginx role: allow to choose certbot authenticator. 2022-10-23 11:24:31 +02:00
03c21e4f57
gitea: CAPTCHA hurt accessibility. 2022-10-19 14:43:26 +02:00
233b6c59a8
gitea: It can be usefull to receive email notifications. 2022-10-19 14:41:32 +02:00
ef4166afbc
Pas bientôt. 2022-10-18 19:07:53 +02:00
06b4e95b7d
Opening https://git.afpy.org. 2022-10-18 19:03:09 +02:00
e01acffd96
git.afpy.org: CGU. 2022-10-18 19:01:35 +02:00
7c0feb42e8
Gitea: documenting the hardware, backup, restore, and upgrade. 2022-10-15 18:34:20 +02:00
b27195c0e7
Forgot gitea in rsnapshotted hosts. More rsnapshot verbosity can't hurt. 2022-10-10 16:02:24 +02:00
270a848628
Tell about gitea fingerprint (I'm bad at HTML). 2022-10-09 23:06:52 +02:00
a48fb10a30
Backuping gitea. 2022-10-09 23:06:34 +02:00
9027703db8
gitea: FIX email domain in config. 2022-10-09 21:40:42 +02:00
c956b5ab08
gitea: personalized home and logos. 2022-10-07 19:12:28 +02:00
c5e4d2de3f
gitea: Split to a role. 2022-10-07 17:01:40 +02:00
89c9bbf7b5
Avoid common to overwrite rsnapshot key. 2022-10-01 12:20:18 +02:00
7c1c464316
Discourse: Setup a nice error page during upgrades. 2022-09-30 14:08:52 +02:00