diff --git a/source/en/self-host-installation.md b/source/en/self-host-installation.md index 524ffbeb..12334cd1 100644 --- a/source/en/self-host-installation.md +++ b/source/en/self-host-installation.md @@ -121,6 +121,10 @@ if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q= last; } +location ~* /storage/.*\.php$ { + return 503; +} + location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php8.1-fpm.sock;