Error 404 with Apache proxy and Workhorse

Hello

With apache2.4 on raspbian (raspberry pi 3) and gitlab-ce 8.7 with workhorse, returns 404

My config

Apache virtualhost:

<VirtualHost *:80>
  ServerName gitlab.DOMAIN.es
  ServerSignature Off

  ProxyPreserveHost On

  AllowEncodedSlashes NoDecode

  <Location />
    Require all granted

    ProxyPassReverse http://127.0.0.1:8181
    ProxyPassReverse http://gitlab.DOMAIN.es
  </Location>

  RewriteEngine on

  RewriteCond %{REQUEST_URI} ^/api/v3/.*
  RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA,NE]

  RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f [OR]
  RewriteCond %{REQUEST_URI} ^/uploads/.*
  RewriteRule .* http://127.0.0.1:8181%{REQUEST_URI} [P,QSA]

  DocumentRoot /opt/gitlab/embedded/service/gitlab-rails/public

  ErrorDocument 404 /404.html
  ErrorDocument 422 /422.html
  ErrorDocument 500 /500.html
  ErrorDocument 503 /deploy.html

    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

gitlab.rb:

 external_url 'http://127.0.0.1'
 gitlab_workhorse['enable'] = true
 gitlab_workhorse['listen_network'] = "tcp"
 gitlab_workhorse['listen_addr'] = "127.0.0.1:8181"

errors

404

Edited by 🤖 GitLab Bot 🤖