{"id":298,"date":"2019-10-25T23:03:09","date_gmt":"2019-10-26T04:03:09","guid":{"rendered":"http:\/\/horazmakes.com\/blog\/?p=298"},"modified":"2019-10-25T23:03:09","modified_gmt":"2019-10-26T04:03:09","slug":"proper-configuration-for-apache-reverse-proxy-in-front-of-jenkins-https","status":"publish","type":"post","link":"https:\/\/horazmakes.com\/blog\/2019\/10\/25\/proper-configuration-for-apache-reverse-proxy-in-front-of-jenkins-https\/","title":{"rendered":"Proper configuration for Apache reverse-proxy in front of Jenkins (https)"},"content":{"rendered":"\n<p>So, I finally got the chance to find out how to get rid of the annoying Jenkins message <strong>&#8220;It appears that your reverse proxy set up is broken&#8221;<\/strong>, in my particular configuration.<\/p>\n\n\n\n<p>My configuration is as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Jenkins 2.2<\/li><li>Apache 2.4 (SSL enabled)<\/li><\/ul>\n\n\n\n<p>The minimal working configuration I found is as follows:<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;VirtualHost *:443>\n    ServerName \"subdomain.domain.com\"\n\n    ProxyPass \/ http:\/\/localhost:8080\/ nocanon\n    ProxyPassReverse \/ http:\/\/localhost:8080\/\n\n    AllowEncodedSlashes     NoDecode\n    RequestHeader set X-Forwarded-Proto \"https\"\n    RequestHeader set X-Forwarded-Port \"443\"\n\n    RewriteEngine on\n&lt;\/VirtualHost><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n","protected":false},"excerpt":{"rendered":"<p>So, I finally got the chance to find out how to get rid of the annoying Jenkins message &#8220;It appears that your reverse proxy set up is broken&#8221;, in my particular configuration. My configuration is as follows: Jenkins 2.2 Apache 2.4 (SSL enabled) The minimal working configuration I found is as follows:<\/p>\n","protected":false},"author":1,"featured_media":302,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86,17],"tags":[118,124,119,122,121,123,120],"class_list":["post-298","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","category-web","tag-apache","tag-https","tag-jenkins","tag-proxy","tag-reverse","tag-reverse-proxy","tag-ssl"],"_links":{"self":[{"href":"https:\/\/horazmakes.com\/blog\/wp-json\/wp\/v2\/posts\/298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/horazmakes.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/horazmakes.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/horazmakes.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/horazmakes.com\/blog\/wp-json\/wp\/v2\/comments?post=298"}],"version-history":[{"count":3,"href":"https:\/\/horazmakes.com\/blog\/wp-json\/wp\/v2\/posts\/298\/revisions"}],"predecessor-version":[{"id":303,"href":"https:\/\/horazmakes.com\/blog\/wp-json\/wp\/v2\/posts\/298\/revisions\/303"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/horazmakes.com\/blog\/wp-json\/wp\/v2\/media\/302"}],"wp:attachment":[{"href":"https:\/\/horazmakes.com\/blog\/wp-json\/wp\/v2\/media?parent=298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/horazmakes.com\/blog\/wp-json\/wp\/v2\/categories?post=298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/horazmakes.com\/blog\/wp-json\/wp\/v2\/tags?post=298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}