This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |