| Lines 27-32
          except AttributeError as e:
      
      
        Link Here | 
        
          | 27 | 	domains = [] | 27 | 	domains = [] | 
        
          | 28 |  | 28 |  | 
        
          | 29 | if configRegistry.is_true('letsencrypt/services/apache2'): | 29 | if configRegistry.is_true('letsencrypt/services/apache2'): | 
            
              |  |  | 30 | 	try: | 
            
              | 31 | 		with open('/etc/univention/templates/files/etc/apache2/sites-available/ssl.d/10hsts') as fd: | 
            
              | 32 | 			hsts = run_filter(fd.read(), configRegistry) | 
            
              | 33 | 	except IOERror: | 
            
              | 34 | 		hsts = '' | 
        
          | 30 | 	for domain in domains: | 35 | 	for domain in domains: | 
        
          | 31 | 		if domain == fqdn: | 36 | 		if domain == fqdn: | 
        
          | 32 | 			continue | 37 | 			continue | 
  
    | Lines 51-62
          if configRegistry.is_true('letsencrypt/services/apache2'):
      
      
        Link Here | 
        
          | 51 | 	SSLCertificateKeyFile {key} | 56 | 	SSLCertificateKeyFile {key} | 
        
          | 52 |  | 57 |  | 
        
          | 53 | 	{docker_apps_reverse_proxy} | 58 | 	{docker_apps_reverse_proxy} | 
            
              |  |  | 59 | 	{hsts} | 
        
          | 54 |  | 60 |  | 
        
          | 55 | </VirtualHost>""".format( | 61 | </VirtualHost>""".format( | 
        
          | 56 | 			domain=domain, | 62 | 			domain=domain, | 
        
          | 57 | 			cert=cert_path, | 63 | 			cert=cert_path, | 
        
          | 58 | 			key=key_path, | 64 | 			key=key_path, | 
          
            
              | 59 | 			docker_apps_reverse_proxy = docker_apps_reverse_proxy | 65 | 			docker_apps_reverse_proxy=docker_apps_reverse_proxy, | 
            
              |  |  | 66 | 			hsts=hsts, | 
        
          | 60 | 		)) | 67 | 		)) | 
        
          | 61 | @!@ | 68 | @!@ | 
        
          | 62 | </IfModule> | 69 | </IfModule> |