
Server unix://var/opt/gitlab/gitlab-workhorse/sockets/socket fail_timeout=0 Otherwise, users will be shown as being signed in from your web-server’s IP address. Include the IP address of your web-server if it is not on the same machine as GitLab. Normally, Linux package installations default the list of trusted proxies to what wasĬonfigured in the real_ip module for the bundled NGINX.įor non-bundled web-servers the list needs to be configured directly, and should

Īdd the non-bundled web-server to the list of trusted proxies.Make sure that the webserver user has the correct permissions on all directories used by external web-server, otherwise you will receive failed (XX: Permission denied) while reading upstream errors. If you are using SELinux and your web server runs under a restricted SELinux profile you may have to loosen the restrictions on your web server. Run sudo gitlab-ctl reconfigure for the change to take effect. This setting is an array so you can specify more than one user to be added to gitlab-www group. Redirection for GitLab, Mattermost and Registry, the following settings should Service specific NGINX configuration (as registry_nginx or Settings given via nginx WILL NOT be replicated to If modifying via gitlab.rb, users have to configure NGINX setting for each Share the same default values as GitLab NGINX. All the configurationsĪvailable for nginx are also available for these settings and Pages_nginx, mattermost_nginx and registry_nginx.

There are similar keys for other services like Settings for the GitLab Rails application can be configured using the Users can configure NGINX settings differently for different services via


