Add explanatory text in case ExpiresDefault
is not applied by default
#430
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.github.com/actions | |
name: Server CI | |
on: [push, pull_request] | |
jobs: | |
# Following job not possible yet as too complicated directory mapping on the container. | |
# check: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v4 | |
# | |
# - name: Check configuration | |
# uses: docker://httpd:latest | |
# with: | |
# entrypoint: httpd | |
# args: -f /github/workspace/httpd.conf -t | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prepare configs | |
run: | | |
sed -ri \ | |
-e 's!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g' \ | |
-e 's!^(\s*ErrorLog)\s+\S+!\1 /proc/self/fd/2!g' \ | |
-e 's!^(\s*TransferLog)\s+\S+!\1 /proc/self/fd/1!g' \ | |
"httpd.conf" | |
- name: Test with server-configs-test | |
uses: h5bp/server-configs-test@7.1.1 | |
with: | |
command: test | |
server: httpd | |
root-path: /usr/local/apache2/htdocs | |
certs-path: /usr/local/apache2/certs | |
configs-volumes: test/vhosts:/usr/local/apache2/vhosts;h5bp:/usr/local/apache2/h5bp;httpd.conf:/usr/local/apache2/conf/httpd.conf | |
tests: basic-file-access;caching;cache-busting;custom-errors;forbidden-files;enforce-gzip;precompressed-files-gzip;rewrites;ssl | |
- name: Benchmark | |
uses: h5bp/server-configs-test@7.1.1 | |
with: | |
command: benchmark | |
server: httpd | |
root-path: /usr/local/apache2/htdocs | |
certs-path: /usr/local/apache2/certs | |
configs-volumes: test/vhosts:/usr/local/apache2/vhosts;h5bp:/usr/local/apache2/h5bp;httpd.conf:/usr/local/apache2/conf/httpd.conf |