Skip to content

Instantly share code, notes, and snippets.

@jefrnc
Created February 4, 2020 13:36
Show Gist options
  • Save jefrnc/8ade5614bd0ffb521a1afa7be62d4a82 to your computer and use it in GitHub Desktop.
Save jefrnc/8ade5614bd0ffb521a1afa7be62d4a82 to your computer and use it in GitHub Desktop.
Jenkins - Install with Proxy Reverse
sudo firewall-cmd --permanent --add-port=8080/tcp
sudo firewall-cmd --reload
sudo systemctl start jenkins.service
systemctl status jenkins.service
sudo dnf install policycoreutils-devel setroubleshoot-server
sepolicy network -t http_port_t
sudo semanage port -a -t http_port_t -p tcp 8080 #(definimos rgla para el tcp/8080)
sudo dnf install nginx
sudo vim /etc/nginx/nginx.conf
#buscamos http/server/ location ->
#location / {
# proxy_pass http://127.0.0.1:8080;
#}
sudo systemctl enable nginx.service
sudo systemctl start nginx.service
systemctl status nginx.service
sudo setsebool -P httpd_can_network_connect 1
sudo setsebool -P httpd_can_relay 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment