diff options
| author | Don Delmar Davis <don@suspectdevices.com> | 2021-01-10 09:20:45 -0800 |
|---|---|---|
| committer | Don Delmar Davis <don@suspectdevices.com> | 2021-01-10 09:20:45 -0800 |
| commit | 0d280165367cba52a5d577115a00ff2d8707ff56 (patch) | |
| tree | 363beb9d641bee64c58a5407051b5a4142d07afc | |
| parent | 320f41d86c405783d93191842fbc3ec8029af03f (diff) | |
Document ssl apache proxy config.
| -rw-r--r-- | README.md | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -62,9 +62,20 @@ service gitea restart ``` ### Automating creation of mirrors (github). +We were able to automate mirroring our github repos with the help of jpmens.net and may eventually add bitbucket to the scraping scripts. [https://github.com/feurig/gitea-configuration/blob/main/mirror-repos.py](https://github.com/feurig/gitea-configuration/blob/main/mirror-repos.py) +#### Manually migrating bitbucket mirrors. +To make the mirrors work with bitbucket create an application password and then do a "Git" migration using the application password as your credentials. + +## Setting up ssl and apache proxy. +Gotchas with getting ssl and apache included permissions issues with the letsencrypt certificates (worked around) and getting the proxy to work needed to enable proxy_http2 and proxy module (not proxy_http) + +* Gitea configuration [etc/gitea/app.ini](https://github.com/feurig/gitea-configuration/blob/main/etc/gitea/app.ini) +* Apache configuration [etc/apache2/sites-avaliable/gitea.conf](https://github.com/feurig/gitea-configuration/blob/main/etc/apache2/sites-avaliable/gitea.conf) + + ## references * [https://gitlab.com/packaging/gitea](https://gitlab.com/packaging/gitea) @@ -75,4 +86,5 @@ service gitea restart * [https://websiteforstudents.com/how-to-install-gitea-git-server-on-ubuntu-16-04-18-04-18-10-with-mariadb/](https://websiteforstudents.com/how-to-install-gitea-git-server-on-ubuntu-16-04-18-04-18-10-with-mariadb/) * [https://docs.gitea.io/en-us/config-cheat-sheet/](https://docs.gitea.io/en-us/config-cheat-sheet/) * [https://charlesreid1.github.io/setting-up-a-self-hosted-github-clone-with-gitea.html](https://charlesreid1.github.io/setting-up-a-self-hosted-github-clone-with-gitea.html) -* [https://charlesreid1.com/wiki/Gitea#Using_Binary](https://charlesreid1.com/wiki/Gitea#Using_Binary)
\ No newline at end of file +* [https://charlesreid1.com/wiki/Gitea#Using_Binary](https://charlesreid1.com/wiki/Gitea#Using_Binary) +* [https://mindefrag.net/2018/07/how-to-install-and-configure-gitea-a-self-hosted-github-like-service/](https://mindefrag.net/2018/07/how-to-install-and-configure-gitea-a-self-hosted-github-like-service/)
\ No newline at end of file |
