This commit is contained in:
Bozhidar Slaveykov 2023-11-26 01:36:09 +02:00
parent e92cf518b8
commit dc1a67f0c4
2 changed files with 1 additions and 13 deletions

View file

@ -120,7 +120,7 @@ http {
location ~ \.php$ {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME /usr/local/phyre/web/$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME /usr/local/phyre/web/public/$fastcgi_script_name;
fastcgi_pass unix:/run/phyre-php.sock;
fastcgi_intercept_errors on;
break;

View file

@ -1,16 +1,4 @@
<?php
var_dump(exec('ls -la'));
//var_dump(file_put_contents('/etc/nginx/sites-available/test-site.conf', 1));
die();
use Illuminate\Contracts\Http\Kernel;
use Illuminate\Http\Request;