File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed
Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 3535 --health-retries=5
3636 web :
3737 image : dunglas/frankenphp:1.9-php${{ matrix.php }}
38- ports :
39- - " 8100:80"
38+ ports : [ 8100:80 ]
39+ volumes :
40+ - ./wordpress:/var/www/html
41+ - ./Caddyfile:/etc/frankenphp/Caddyfile
4042
4143 env :
4244 WP_VERSION : ${{ matrix.wordpress }}
Original file line number Diff line number Diff line change 1+ {
2+ local_certs
3+ auto_https disable_redirects
4+
5+ frankenphp {
6+ #worker /path/to/your/worker.php
7+ }
8+
9+ order php_server before file_server
10+ order php before file_server
11+ order request_header before rewrite
12+ }
13+
14+ :80 {
15+ @static {
16+ file
17+ path *.ico *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff
18+ }
19+
20+ root * /var/www/html/
21+ encode br zstd gzip
22+
23+ php_server
24+ }
You can’t perform that action at this time.
0 commit comments