Skip to content

Commit

Permalink
root config
Browse files Browse the repository at this point in the history
  • Loading branch information
theodoreb committed Apr 4, 2024
1 parent 1136839 commit 365f537
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions frankenphp/.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ https_port 443
debug
"

CADDY_SERVER_EXTRA_DIRECTIVES="root * /var/www/html/web"

# Enable the worker mode
# FRANKENPHP_CONFIG="worker /var/www/html/public/index.php 10"

Expand Down
1 change: 0 additions & 1 deletion frankenphp/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
{$CADDY_EXTRA_CONFIG}

{$SERVER_NAME:localhost} {
root * public/
encode zstd br gzip

@hiddenPhpFilesRegexp path_regexp \..*/.*\.php$
Expand Down

0 comments on commit 365f537

Please sign in to comment.