-
Notifications
You must be signed in to change notification settings - Fork 42
Conversation
Overall looks good -- would it be cleaner just to accept |
Reasoning is that you can change all those |
Changed the |
Hi @sunruh, Thanks for your contribution. Sorry for the late review since I was having problem on testing your pull request(#69) I tried to use your PR to deploy the cookbook. But I am redirected to the https site. It is caused by this line of code https://github.com/humance/chef-stash-cookbook/blob/2ec8709c3c75b2078f73e13202ea31711e52ef69/templates/default/server-tomcat8.xml.erb#L80 You need to change it --- a/templates/default/server-tomcat8.xml.erb
+++ b/templates/default/server-tomcat8.xml.erb
@@ -77,7 +77,7 @@
useBodyEncodingForURI="true"
compression="on"
compressableMimeType="text/html,text/xml,text/plain,text/css,application/json,application/javascript,application/x-javascript"
- <% if node['stash']['apache2'] -%>
+ <% if node['stash']['apache2'] && node['stash']['tomcat']['ssl_port'] -%>
redirectPort="<%= node['stash']['apache2']['ssl']['port'] %>"
secure="true"
scheme="https" |
It may also affect this default default['stash']['backup_client']['baseurl'] = "https://#{node['fqdn']}/" chef-stash/attributes/default.rb Line 130 in 551fb49
|
any update on this? |
bump |
Allows to disable to the SSL configuration of Tomcat and Apache by setting the port attributes to
-1
.It is a replacement for PR #22 with the difference, that a34d15d (add proxy preserve host) has not been applied as it is unrelated to SSL (but important nevertheless).