Skip to content

Commit

Permalink
Updated nginx config
Browse files Browse the repository at this point in the history
  • Loading branch information
turbo124 committed Sep 5, 2023
1 parent 61c1314 commit 8cebf2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/en/self-host-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8cebf2d

Please sign in to comment.