Gitlab and Apache as reverse proxy
Submitted by itefix on Wed, 04/01/2023 - 00:17
- Apache site with Letsencrypt certificate and access restrictions for some hosts/ips. Gitlab server's ip is 3.3.3.3
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName git.domain.com
CustomLog ${APACHE_LOG_DIR}/git_access.log vhost_combined
ProxyRequests off
<Location />
Require host my.domain.com your.domain.com
Require ip 1.1.1.1 2.2.2.0/24
ProxyPass "http://3.3.3.3/" retry=0
ProxyPassReverse "http://3.3.3.3/"
</Location>
SSLCertificateFile /etc/letsencrypt/live/git.domain.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/git.domain.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>
- Specify http://git.domain.com as external domain before Gitlab installation:
sudo EXTERNAL_URL="http://git.domain.com" .....
Release news
- 2023-05-23 Copssh server 7.13.2
- 2023-05-23 Copssh server 8.1.2
- 2023-03-29 Rsync Client Helper GUI 1.0.3.7
- 2023-03-29 Nagwin 5.1.2
- 2023-03-29 cwRsync server 6.7.2