Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8079468

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: Caddy configuration don't allow sub-directory php files to execute.Fixes#20593
2 parents46660f7 +8377b29 commit8079468

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎setup/web_server_configuration.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ When using Caddy on the server, you can use a configuration like this:
207207
208208
# otherwise, use PHP-FPM (replace "unix//var/..." with "127.0.0.1:9000" when using TCP)
209209
php_fastcgi unix//var/run/php/php8.3-fpm.sock {
210+
# only fallback to root index.php aka front controller.
211+
try_files {path} index.php
212+
210213
# optionally set the value of the environment variables used in the application
211214
# env APP_ENV "prod"
212215
# env APP_SECRET "<app-secret-id>"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp