Changes

From SME Server
Jump to navigationJump to search
7 bytes added ,  00:07, 13 November 2015
→‎Strict Transport Security: Put template fragment in templates-custom, not templates
Line 133: Line 133:  
as a way to check for the module. The command returns "headers_module (shared)" if the header module is loaded.  
 
as a way to check for the module. The command returns "headers_module (shared)" if the header module is loaded.  
   −
Next, create a custom template to add the header directive. The template content shown here adds the directive to all virtual hosts (aka iBays). The custom template is placed in /etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/. Name the template file "04StrictTransportSecurity". This important as the file name also dictates the order of loading. Put the following directive in the file:
+
Next, create a custom template to add the header directive. The template content shown here adds the directive to all virtual hosts (aka iBays). The custom template is placed in /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/. Name the template file "04StrictTransportSecurity". This important as the file name also dictates the order of loading. Put the following directive in the file:
    
  ### added to support ownCloud 8 ###
 
  ### added to support ownCloud 8 ###
147

edits

Navigation menu