Ian Wienand b386dbd631 gitea: fix 3081 proxy
The Apache 3081 proxy allows us to do layer 7 filtering on incoming
requests.  However, it was returning 502 errors because it proxies to
https://localhost and the certificate doesn't match (see
SSLProxyCheckPeerName directive).  However, we can't use the full
hostname in the gate because our self-signed certificate doesn't cover
that.

Add a variable and proxy to localhost in the gate, and the full
hostname in production.  This avoids us having to turn off
SSLProxyCheckPeerName.

Change-Id: Ie12178a692f81781b848beb231f9035ececa3fd8
2020-09-25 08:37:17 +10:00
..
2020-02-12 16:39:11 +11:00
2020-08-20 13:32:08 +10:00
2020-06-11 10:26:45 -07:00
2020-09-25 08:37:17 +10:00
2020-07-03 07:17:22 +10:00
2020-07-07 17:03:46 +10:00
2020-04-16 12:45:36 -05:00
2020-09-10 21:31:16 +00:00
2020-04-16 12:08:00 -07:00
2018-08-23 21:34:42 +10:00
2020-08-12 17:27:14 +02:00