0c62ff6c84
Improve Gitea logging
2025-05-31 15:29:18 +04:00
f65256d229
Disable downloads of repo archives
2025-04-09 17:25:41 +04:00
6be99aa3de
Cap maximum open database connections
...
Fixes Gitea opening too many connections, which can impact other apps
trying to connect as well.
2025-03-05 13:53:33 +04:00
4ce39738fd
Allow larger bodies for Gitea file uploads
...
Needed for uploading larger packages to the registry
2024-12-09 21:19:39 +04:00
9d928298d2
Fix Gitea user/repo avatar URLs in certain situations
...
I encountered a CORS proxy which somehow ended up with http://_gitea_web
URLs.
2024-07-10 11:36:07 +02:00
6931fe05d0
Hide Gitea version and load times in footer
2024-04-07 13:16:19 +03:00
Râu Cao
bbd25ebb9c
Add nginx logs for gitea
2023-07-31 15:56:40 +02:00
Râu Cao
438ee4ace0
Migrate Gitea SSH stream to openresty
2023-07-30 12:35:21 +02:00
Râu Cao
4b14297f83
WIP Migrate Gitea proxy to openresty
...
TODO: Make nginx_ssh stream resource work with openresty cookbook
2023-07-26 14:15:46 +02:00
Râu Cao
702449acc1
Upgrade Gitea to 1.19.0, enable Actions
2023-03-28 19:36:30 +02:00
Râu Cao
e54112418e
Upgrade Gitea 1.18.0
...
Requires some config changes for the mailer.
2022-12-30 23:05:40 +07:00
Râu Cao
e0fb84e56c
Store Gitea data (avatars, attachments, etc.) in Garage/S3
...
Also adds a new garage gateway role, which only allows RPC (inter-node)
traffic to Garage.
2022-11-26 13:05:07 +01:00
Râu Cao
65adc84e5b
Upgrade Gitea to 1.17.0
...
Also adds a new Nginx directive to allow larger uploads to the Docker
registry endpoints.
closes #422
2022-08-09 11:58:56 +02:00
Râu Cao
08b7c7a5ac
Enable cron job to delete repo archives
...
closes #395
2022-08-08 12:51:26 +02:00
a1b07dfb9e
Adapt Gitea recipes for new VM setup
2022-03-12 14:46:45 -06:00
03c7940f1c
Fix Webhooks for Drone not working in Gitea 1.16
...
By default, only external requests are allowed:
https://github.com/go-gitea/gitea/pull/17482
2022-02-12 10:53:45 -06:00
24f94bdb02
Upgrade Gitea to 1.15.6
...
Configures the JWT signing algorithm to be the old, less secure
algorithm, until we update the token for Drone CI (and any other OAuth
apps).
closes #338
2021-11-25 16:44:48 -06:00
bbaeeb5099
Upgrade Gitea to 1.14.3
...
Adds a new config for the repository root directory.
closes #322
2021-06-21 17:47:30 +02:00
891b5f3fee
Tell browsers to cache Gitea avatars for 30 days
...
fixes #312
2021-02-26 20:41:53 +01:00
Greg Karékinian
a7116b8fe5
Switch the TLS mode to disabled for Gitea
...
We connect through a Zerotier private IP
2021-01-23 19:08:06 +01:00
9a28a03265
Increase size limit for Gitea uploads/attachments
...
The default limit in nginx is only 1MB. This increases it to 20MB.
fixes #188
2020-08-05 15:53:13 +02:00
Greg Karékinian
5e483240c3
Set the Gitea root URL to HTTPS
...
It fixes U2F security keys support, that was broken because the protocol
did not match
Fixes #182
2020-06-12 17:22:34 +02:00
Greg Karékinian
0f10723c81
Enable secure cookies
2020-06-02 16:18:48 +02:00
Greg Karékinian
55865c526c
Add the Let's Encrypt hook dir to the config
...
Only enabled when there is no TLS cert. This is already part of the
certbot nginx vhost
2020-06-02 16:17:34 +02:00
Greg Karékinian
0c502580c2
Fix the condition for the Let's Encrypt cert in the template
...
The line contained an extra !
2020-06-02 16:16:30 +02:00
Greg Karékinian
94330f2052
Comment out the COOKIE_SECURE config for now
...
We will enable it again after we have a valid TLS cert generated with
Let's Encrypt. It prevents logins using http, and we will need that as
an admin account
2020-05-28 18:43:31 +02:00
Greg Karékinian
51d4d88568
Initial kosmos_gitea cookbook
...
The default recipe deploys the gitea binary, generates a config file and
our custom Kosmos label set. The service runs as a Systemd unit.
The pg_db recipe needs to run on the primary PostgreSQL (currently
andromeda).
The backup recipe is empty for now
Refs #147
2020-05-18 19:39:43 +02:00