You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
587 B
26 lines
587 B
Listen ${PORT} |
|
ServerName localhost |
|
|
|
<Directory "/usr/local/apache2/htdocs"> |
|
Options Indexes FollowSymLinks |
|
AllowOverride All |
|
Require all granted |
|
</Directory> |
|
|
|
<Location "/healthz"> |
|
Header set Content-Type "application/json" |
|
Header set Cache-Control "public, max-age=5" |
|
</Location> |
|
|
|
RewriteEngine On |
|
RewriteBase / |
|
RewriteRule ^healthz$ /healthz.json [L] |
|
|
|
RewriteRule ^index\.html$ - [L] |
|
RewriteCond %{REQUEST_FILENAME} !-f |
|
RewriteCond %{REQUEST_FILENAME} !-d |
|
RewriteRule . /200.html [L] |
|
|
|
<IfModule mod_headers.c> |
|
Header set Service-Worker-Allowed "/" |
|
</IfModule>
|
|
|