mirror of
https://codeberg.org/vlw/victorwesterlund.com.git
synced 2025-09-14 03:23:41 +02:00
Update server.conf
Made a "try_files"-less conf of the FastCGI snippet for NGINX. This new conf looks for a router.php as the FastCGI index, and also allows for location block try_files
This commit is contained in:
parent
953b647d25
commit
3bf5e3ce73
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ server {
|
|||
|
||||
location ~ \.php$ {
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
include snippets/fastcgi-php.conf;
|
||||
include snippets/fastcgi-php-router.conf;
|
||||
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue