diff --git a/server.conf b/server.conf index 56173ca..2df83e2 100644 --- a/server.conf +++ b/server.conf @@ -67,7 +67,7 @@ server { } location ~ \.php$ { - try_files $uri =404; + try_files $uri $uri/ =404; add_header Access-Control-Allow-Origin *; include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.3-fpm.sock; @@ -81,4 +81,4 @@ server { deny all; return 404; } -} \ No newline at end of file +}