GithubHelp home page GithubHelp logo

mjstealey / jenkins-nginx-docker Goto Github PK

View Code? Open in Web Editor NEW
60.0 60.0 59.0 12.51 MB

Jenkins LTS / Nginx - Orchestrated with Docker Compose

Shell 40.72% Dockerfile 59.28%
docker docker-in-docker jenkins letsencrypt nginx

jenkins-nginx-docker's People

Contributors

aamsur avatar mjstealey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jenkins-nginx-docker's Issues

Jenkins exited with code 1

While following you're guide "Basic Deployment using https and SSL", after running docker-compose --env-file .env up I get :

jenkins | Can not write to /var/jenkins_home/copy_reference_file.log. Wrong volume permissions?
jenkins | touch: cannot touch '/var/jenkins_home/copy_reference_file.log': Permission denied
jenkins | touch: cannot touch '/var/jenkins_home/copy_reference_file.log': Permission denied
jenkins | Can not write to /var/jenkins_home/copy_reference_file.log. Wrong volume permissions?
jenkins exited with code 1

and can't access jenkins.

Custom Sub Name

When change name at nginx configuration file default.conf nginx give 404 response code.
Example at below ;

server {

    listen 80;
    server_name localhost;

    location ^~ /CUSTOM_LOCATION/ {
...
...
... 
}

How I can solve this problem.

It appears that your reverse proxy set up is broken.

Jenkins shows the message "It appears that your reverse proxy set up is broken. " in the page http://host/jenkins/manage.
This issue is present despite I see the following lines in the nginx config file:

# Fix the "It appears that your reverse proxy set up is broken" error.
        proxy_pass              http://jenkins:8080/jenkins/;
        proxy_read_timeout      90;

        proxy_redirect          http://jenkins:8080/jenkins http://localhost/jenkins;

This line is present in the Jenkins's logs:
jenkins | 2020-03-23 17:07:13.425+0000 [id=68] WARNING h.d.ReverseProxySetupMonitor#getTestForReverseProxySetup: http://10.69.122.183/jenkins/manage vs. http:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.