Re: git repository for docs seems mangled

Sven Hartge <[email protected]>
Newsgroups gmane.comp.sysutils.backup.bacula.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.