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

Commit8377b29

Browse files
committed
minor#20594 Caddy configuration don't allow sub-directory php files to execute.Fixes#20593 (sarim)
This PR was merged into the 6.4 branch.Discussion----------Caddy configuration don't allow sub-directory php files to execute.Fixes#20593Fixes#20593For details please check linked issue.Commits-------75a197b Caddy configuration don't allow sub-directory php files to execute.Fixes#20593
2 parents8dfe867 +75a197b commit8377b29

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