Both www. and ci. are pointing to the same IP address using A records via 
my domain registrar.

Jenkins is working perfectly at www.mycompany.com:8080.

I have changed the default url under Configure Jenkins System to the new 
http://ci.mycompany.com

I have also added a new nginx config file called jenkins and copied pasted 
the following 
from https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu

upstream app_server {
    server 127.0.0.1:8080 fail_timeout=0;
}

server {
    listen 80;
    listen [::]:80 default ipv6only=on;
    server_name ci.oppoin.com;

    location / {
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_redirect off;

        if (!-f $request_filename) {
            proxy_pass http://app_server;
            break;
        }
    }
}


I have also removed default from /etc/nginx/sites-enabled

I cannot access ci.mycompany.com at all.


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to