Skip to content

Instantly share code, notes, and snippets.

View cwilby's full-sized avatar
🚴‍♂️

Cameron Wilby cwilby

🚴‍♂️
View GitHub Profile
@cwilby
cwilby / ssl-proxy-jenkins.sh
Last active April 28, 2018 22:04 — forked from freemanirl/ssl-proxy-jenkins.sh
LetsEncrypt Jenkins SSL Proxy Nginx
#!/bin/bash
sudo apt-get install -y epel-release nginx certbot
sudo apt-get install -y certbot
sudo setsebool -P httpd_can_network_connect 1
# install well-known conf in nginx.
systemctl restart nginx.service
certbot certonly -a webroot --webroot-path=/usr/share/nginx/html -d jenkins.cwserve.com