Created
February 4, 2020 13:36
-
-
Save jefrnc/8ade5614bd0ffb521a1afa7be62d4a82 to your computer and use it in GitHub Desktop.
Jenkins - Install with Proxy Reverse
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
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