Um 10:04 Uhr am 30.09.20 schrieb Sven Hartge:
> On 30.09.20 09:57, Kern Sibbald wrote:
>
> > Oh, there seem to be plenty of articles about self-hosting gitea,
> > so you can ignore my request -- however, if you have some special
> > tips, I would appreciate hearing them.
>
> It really is quite straight-forward. Configuring the ini-file, starting
> the service, configuring Apache/Nginx to do the pass-through, done.
As reference from my "git.employer.domain" host:
<VirtualHost *:443>
[... other stuff ...]
AllowEncodedSlashes NoDecode
ProxyPreserveHost On
AllowEncodedSlashes NoDecode
ProxyPass / http://localhost:3000/ nocanon
ProxyPassReverse / http://localhost:3000/
[... other stuff ...]
</VirtualHost>
(The "AllowEncodedSlashes NoDecode" is the only real pitfall here. Things
can get wonky if it is missing.)
Grüße,
Sven.
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel