that sounds good:)
i-MSCP with Gitlab
-
- question (answered)
- exclusivatom
- Thread is marked as Resolved.
-
-
-
-
Hello,
I have installed Gitlab too.
I followed the recipe described here Gitlab i-MSCP HowTo
Except I use now the normal Panel to configure the proxyAfter this using Letsencrypt for SSL works fine, too.
So, overall it is easy when you follow the link above!
Peter
-
-
-
Apache log file?
NGinx Log file?subdomain created by imscp? Then a restart had occcured automatically.
When done manually, apache restart executed? -
-
-
Except I use now the normal Panel to configure the proxy
That is the key of the success The howto should be updated to remove the useless parts (Apache vhosts creation) which should be replaced with instructions for setting the proxy with the preserve host option through the control panel. Could you take care of this? -
-
-
That is the key of the success The howto should be updated to remove the useless parts (Apache vhosts creation) which should be replaced with instructions for setting the proxy with the preserve host option through the control panel. Could you take care of this?
Wiki is updated
My first timeSomebody should read over it.
-
After my recipe I got this apache config (slightly modified ip/name)HTML- <VirtualHost 1.2.3.4:443>
- ServerAdmin webmaster@git.domain_name.de
- ServerName git.domain_name.de
- ServerAlias www.git.domain_name.de
- DocumentRoot /var/www/virtual/domain_name.de/git.domain_name.de/htdocs
- DirectoryIndex disabled
- LogLevel error
- ErrorLog /var/log/apache2/git.domain_name.de/error.log
- Alias /errors/ /var/www/virtual/domain_name.de/errors/
- SSLEngine On
- SSLCertificateFile /var/www/imscp/gui/data/certs/git.domain_name.de.pem
- Header always set Strict-Transport-Security "max-age=31536000"
- <Directory /var/www/virtual/domain_name.de/git.domain_name.de/htdocs>
- Options FollowSymLinks
- AllowOverride AuthConfig Indexes Limit Options=Indexes,MultiViews \
- Fileinfo=RewriteEngine,RewriteOptions,RewriteBase,RewriteCond,RewriteRule Nonfatal=Override
- Require all granted
- </Directory>
- RequestHeader set X-Forwarded-Proto "http"
- RequestHeader set X-Forwarded-Port 80
- ProxyPreserveHost On
- ProxyPassMatch ^/((?!(?:errors|\.well-known)/).*) http://localhost:8888/$1 retry=30 timeout=7200
- ProxyPassReverse / http://localhost:8888/
- Include /etc/apache2/imscp/git.domain_name.de.conf
- </VirtualHost>
- <VirtualHost 1.2.3.4:80>
- ServerAdmin webmaster@git.domain_name.de
- ServerName git.domain_name.de
- ServerAlias www.git.domain_name.de
- DocumentRoot /var/www/virtual/domain_name.de/git.domain_name.de/htdocs
- DirectoryIndex disabled
- LogLevel error
- ErrorLog /var/log/apache2/git.domain_name.de/error.log
- Alias /errors/ /var/www/virtual/domain_name.de/errors/
- <Directory /var/www/virtual/domain_name.de/git.domain_name.de/htdocs>
- Options FollowSymLinks
- AllowOverride AuthConfig Indexes Limit Options=Indexes,MultiViews \
- Fileinfo=RewriteEngine,RewriteOptions,RewriteBase,RewriteCond,RewriteRule Nonfatal=Override
- Require all granted
- </Directory>
- RedirectMatch 301 ^/((?!(?:errors|\.well-known)/).*) https://git.domain_name.de/$1
- Include /etc/apache2/imscp/git.domain_name.de.conf
- </VirtualHost>
I am using 1.4.7 i-mscp and Debian 9.
You see some differences!On a shell on your server try a wget of your port 8888. WHat is the result?
-