csp plug: add sts support
[akkoma] / installation / pleroma.vcl
index 63c1cb74dbf01f5b7a72285d83f35306c997b96f..5d80c6f44f9b760bc25d251bf04f2b9e2fb0fd37 100644 (file)
@@ -119,3 +119,8 @@ sub vcl_pipe {
         set bereq.http.connection = req.http.connection;
     }
 }
+
+sub vcl_deliver {
+  # Uncomment this only after you get HTTPS working.
+  # set resp.http.Strict-Transport-Security= "max-age=31536000; includeSubDomains";
+}