update
This commit is contained in:
parent
e92cf518b8
commit
dc1a67f0c4
2 changed files with 1 additions and 13 deletions
|
@ -120,7 +120,7 @@ http {
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
include fastcgi_params;
|
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_pass unix:/run/phyre-php.sock;
|
||||||
fastcgi_intercept_errors on;
|
fastcgi_intercept_errors on;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1,16 +1,4 @@
|
||||||
<?php
|
<?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\Contracts\Http\Kernel;
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue