=== modified file 'hooks/actions.py'
--- hooks/actions.py 2015-04-19 00:04:11 +0000
+++ hooks/actions.py 2015-04-24 15:20:37 +0000
@@ -200,10 +200,20 @@ def publish_website_relations(service_na
]],
},
{
+ 'service_name': 'git-service-http-redirect',
+ 'service_host': '0.0.0.0',
+ 'service_port': '80',
+ 'service_options':
+ http_options +
+ ['redirect scheme https code 301 if !{ ssl_fc }'],
+ 'servers': None,
+ },
+ {
'service_name': 'git-service-smart-http',
'service_host': '0.0.0.0',
- 'service_port': str(config['port_smart_http']),
+ 'service_port': '443',
'service_options': http_options + ['option httpchk'],
+ 'crts': ['DEFAULT'],
'servers': [[
server_name, server_ip, str(config['port_smart_http']),
'check',