Posts Tagged: nginx

Nginx Reverse Proxy

centos logo

Using CentOS 6 I installed Nginx with:

and amended the config file for the default website i.e.

With the following content:

So visiting the web address as configured under the ‘server’ section will proxy the website from Advice on the web specified using $host or configuring the proxy_set_header:

However,… Read more »

Gitlab Omnibus – Change the Nginx Port

Ignore original text below. The correct method is to amend the /etc/gitlab/gitlab.rb file with the port e.g.: external_url “” nginx[‘ssl_certificate’] = “/etc/pki/tls/certs/pubkey.pem” nginx[‘ssl_certificate_key’] = “/etc/pki/tls/private/privkey.pem” Then run: gitlab-ctl reconfigure   Doing a ps -ef | grep nginx allowed me to track down the configuration file:

That file specified the port number (see below) and… Read more »