Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Attributes file
- default['jenkins']['servername'] = "jenkins.schibsted.se"
- template file
- <VirtualHost *:80>
- ServerName <%= node[:httpd][:servername] %>
- RewriteEngine on
- RewriteCond %{SERVER_PORT} =80
- RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI}
- </VirtualHost>
- Server output
- <VirtualHost *:80>
- ServerName jenkins.schibsted.se
- RewriteEngine on
- RewriteCond %{SERVER_PORT} =80
- RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI}
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement