Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:forgejo [2024/09/11 07:13] – [Installation] willy | services:forgejo [2025/03/13 14:41] (current) – [Forgejo] willy | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Easy to install and low maintenance, | Easy to install and low maintenance, | ||
| - | Forgejo is the evolution of [[services: | + | Forgejo is the evolution of [[services:obsolete: |
| ===== Installation ===== | ===== Installation ===== | ||
| Line 78: | Line 78: | ||
| ./forgejo | ./forgejo | ||
| </ | </ | ||
| + | |||
| + | One last step is to ensure your **app.ini** is safe if you reinstlal Forgejo. Since i do backup the git repos folder but not the daemons folder, i just move it there and link it back: | ||
| + | <code bash> | ||
| + | cd ~/ | ||
| + | mv app.ini / | ||
| + | ln -s / | ||
| + | </ | ||
| + | |||
| + | Note that your **git** user //~/.ssh// must exist and the permission chain into it must be set properly! | ||
| + | The / | ||
| ==== Reverse Proxy setup ==== | ==== Reverse Proxy setup ==== | ||
| Line 110: | Line 120: | ||
| == Using Reverse Proxy authentication === | == Using Reverse Proxy authentication === | ||
| - | GITea support reverse proxy authentication. The above NGINX config already set it up, but you need to open GITea settings and go to **Authentication Sources** and replace the existing one (or add a new one) ad **PAM_Auth**. The settings you need are: | + | Forgejo |
| * pam_service_name: | * pam_service_name: | ||
| - | that's it. | + | that's it. This will work with your SSO. |
| ==== Autostart ==== | ==== Autostart ==== | ||
| Line 125: | Line 135: | ||
| description=" | description=" | ||
| - | command="/ | + | command="/ |
| command_args="" | command_args="" | ||
| command_background=" | command_background=" | ||