OpenSource CLI-App to install and handle stuff related to Web-Server
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
@extends($ssl ? 'layouts.ssl' : 'layouts.no-ssl')
|
|
|
|
@section('server')
|
|
|
|
root {{ $root }};
|
|
index {{ $index }};
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.php;
|
|
}
|
|
|
|
# php-fpm configuration.
|
|
location ~ \.php(/|$) {
|
|
fastcgi_split_path_info ^(.+\.php)(.*)$;
|
|
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
|
|
fastcgi_index index.php;
|
|
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
|
|
fastcgi_param DOCUMENT_ROOT $realpath_root;
|
|
include /etc/nginx/fastcgi_params;
|
|
}
|
|
@endsection
|