Dear Gitlab Community,
yesterday a make a new gitlab 8.17.0 installation on ubuntu 16.04 installation and confgure it like the old one which I have documented. I am running a apache2 which letsencrypt as a proxy. It looks as if everything runs well, but a few JS files are not loaded. I get “422 Unprocessable Entity” https at
- https://gitlab.example.com/assets/webpack/application-XXX.js
- https://gitlab.example.com/assets/webpack/lib_dX.js
- https://gitlab.example.com/assets/webpack/users-X.js
- https://gitlab.example.com/assets/webpack/lib_d3-X.js
- https://gitlab.example.com/assets/webpack/users-X.js
/etc/gitlab/gitlab.rb
external_url ‘https://gitlab.example.com’
nginx[‘listen_address’] = ‘localhost’
nginx[‘listen_port’] = 8080
nginx[‘listen_https’] = false
web_server[‘external_users’] = [‘www-data’]
nginx[‘enable’] = false
/etc/apache2/sites-available/gitlab.example.com.conf
<VirtualHost *:80>
ServerName gitlab.example.com
ServerAdmin mail@gitlab.example.com
ErrorLog /var/log/apache2/gitlab.example.com/error.log CustomLog /var/log/apache2/gitlab.example.com/access.log combined
Redirect 301 / https://gitlab.example.com/
<VirtualHost *:443>
ServerName gitlab.example.com
ServerAdmin mail@gitlab.example.com
ErrorLog /var/log/apache2/gitlab.example.com/error.log CustomLog /var/log/apache2/gitlab.example.com/access.log combined
RequestHeader set X-Forwarded-Proto "https" RequestHeader set X-Forwarded-Port "443" ProxyPreserveHost On ProxyPass / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/
SSLEngine on SSLCertificateFile /etc/letsencrypt/live/gitlab.example.com/cert.pem SSLCertificateKeyFile /etc/letsencrypt/live/gitlab.example.com/privkey.pem SSLCertificateChainFile /etc/letsencrypt/live/gitlab.example.com/chain.pem
<Proxy http://localhost:8080/>
Order deny,allow
Allow from all
Does anyone have ideas to solve the problem?
Thank you! I wish you a nice Sunday.