Skip to content

Instantly share code, notes, and snippets.

View proxy_nginx.sh
sudo aptitude -y install nginx
cd /etc/nginx/sites-available
sudo rm default
sudo cat > jenkins << END_JENKINS_CAT
upstream app_server {
server 127.0.0.1:8080 fail_timeout=0;
}
server {
listen 80;