We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c0722 commit 94cd4d7Copy full SHA for 94cd4d7
.github/workflows/tests.yml
@@ -36,9 +36,30 @@ jobs:
36
web:
37
image: dunglas/frankenphp:1.9-php${{ matrix.php }}
38
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
61
volumes:
62
- ${{ github.workspace }}/wordpress:/var/www/html
- - ${{ github.workspace }}/tests:/etc/frankenphp/
63
64
env:
65
WP_VERSION: ${{ matrix.wordpress }}
tests/Caddyfile
0 commit comments