Commit 8e4893f2 authored by Chris Croome's avatar Chris Croome

Enforce HTTPS and omit the exact build time

parent e0013f23
Pipeline #3528 canceled with stage
in 38 minutes and 52 seconds
Options +Indexes
AddType text/plain .gpg
# Use Webarchtects website SSI templates
# https://git.coop/webarch/website-templates
SetEnv SITE_TITLE "{{ php_release_name }}"
AddType text/plain .gpg
# https://docs.webarch.net/wiki/HTAccess#Enforcing_HTTPS
Header set Strict-Transport-Security "max-age=31536000" env=HTTPS
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
</IfModule>
# https://wiki.debian.org/DebianRepository/SetupWithReprepro#Configuring_Apache
<LocationMatch "/db/*">
......
......@@ -8,7 +8,7 @@
--><!--#include virtual="/wsh/top.shtml" -->
<p>The PHP{{ php_version }} packages in this repo were built on <!--#config timefmt="%A, %e %B %Y at %r" --><!--#echo var="LAST_MODIFIED" -->
<p>The PHP{{ php_version }} packages in this repo were built on <!--#config timefmt="%A, %e %B %Y" --><!--#echo var="LAST_MODIFIED" -->
and can be <a href="pool/main/p/php{{ php_version }}/">browsed here</a>, following are instructions for installing them on Debian {{ php_distro }}.
<h2 id="install">Install <a href="#install" class="a">#</a></h2>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment