How to configure NGINX to avoid 502 Bad Gateway when communicates ... | nginx 502 bad gateway docker
Hi,mycaseisthatafterhavingsetupanewDropletwithanUbuntu18.04serverandhavefollowedtheDOtutorialsto:InstallNginxSecureNginxwithLet’sEncryptInstallJenkinsConfigureJenkinswithanSSLbehindanNginxreverseproxySetupcontinuousintegrationpipelinewithJenkins(thisdocsaysforUbuntu16.04)InstalldockerSothegoalistomanagethedeploymentofaReactapplicationtomytestdomain.comlater,bynow,Ijustwanttocreatethedistfoldergenerated,afterthe‘npmbuild’,withinthe/var/lib/jenkins/workspace/,justthat.Forthepurpose,Iwillruniti...
Hi, my case is that after having set up a new Droplet with an Ubuntu 18.04 server and have followed the DO tutorials to:
Install Nginx Secure Nginx with Let’s Encrypt Install Jenkins Configure Jenkins with an SSL behind an Nginx reverse proxy Set up continuous integration pipeline with Jenkins (this doc says for Ubuntu 16.04) Install dockerSo the goal is to manage the deployment of a React application to my testdomain.com later, by now, I just want to create the dist folder generated, after the ‘npm build’, within the /var/lib/jenkins/workspace/ , just that. For the purpose, I will run it in a Jenkins pipeline with docker.
So by now, I’m able to access my jenkins.testdomain.com alright, trigger the pipeline to start the process after pushing to my repo, and start to run the stages; but it’s here when start to fail nginx, when the pipeline reaches the Deliver phase (let’s read npm build’ phase).It’s at this point reading the Jenkins console output I see...