Skip to content

Commit 94cd4d7

Browse files
committed
wip
1 parent 06c0722 commit 94cd4d7

File tree

2 files changed

+22
-25
lines changed

2 files changed

+22
-25
lines changed

.github/workflows/tests.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,30 @@ jobs:
3636
web:
3737
image: dunglas/frankenphp:1.9-php${{ matrix.php }}
3838
ports: [ 8100:80 ]
39+
env:
40+
FRANKENPHP_CONFIG: >-
41+
{
42+
local_certs
43+
auto_https off
44+
frankenphp {
45+
#worker /path/to/your/worker.php
46+
}
47+
order php_server before file_server
48+
order php before file_server
49+
order request_header before rewrite
50+
}
51+
52+
:80 {
53+
@static {
54+
file
55+
path *.ico *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff
56+
}
57+
root * /var/www/html/
58+
encode br zstd gzip
59+
php_server
60+
}
3961
volumes:
4062
- ${{ github.workspace }}/wordpress:/var/www/html
41-
- ${{ github.workspace }}/tests:/etc/frankenphp/
4263

4364
env:
4465
WP_VERSION: ${{ matrix.wordpress }}

tests/Caddyfile

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)