Skip to content

Instantly share code, notes, and snippets.

@chuquanghopbk
chuquanghopbk / gitlab.conf
Created July 3, 2020 04:25 — forked from sameersbn/gitlab.conf
Nginx reverse proxy configuration for GitLab
upstream gitlab {
server 172.17.42.1:10080 fail_timeout=0;
}
# let gitlab deal with the redirection
server {
listen 80;
server_name git.example.com;
server_tokens off;
root /dev/null;
@chuquanghopbk
chuquanghopbk / Python2.7-CentOS6.8.sh
Created June 30, 2020 04:23 — forked from mchiocca/Python2.7-CentOS6.8.sh
Install Python 2.7 on CentOS 6.8
#!/bin/bash
# Install external dependencies.
sudo yum install -y gcc make openssl-devel libffi-devel
# Download and install Python 2.7.5.
# Note that there are newer release versions available.
wget https://www.python.org/ftp/python/2.7.5/Python-2.7.5.tgz
tar xzf Python-2.7.5.tgz
cd Python-2.7.5