mirror of
https://github.com/Ahwxorg/Binternet.git
synced 2026-03-11 08:54:37 +00:00
20 lines
574 B
Nginx Configuration File
20 lines
574 B
Nginx Configuration File
server {
|
|
listen 8080 default_server;
|
|
server_name _;
|
|
|
|
root /var/www/binternet;
|
|
index index.php;
|
|
|
|
location ~ \.php$ {
|
|
fastcgi_pass unix:/run/php/php-fpm83.sock;
|
|
fastcgi_index index.php;
|
|
fastcgi_param PATH_INFO $path_info;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
|
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
|
try_files $fastcgi_script_name =404;
|
|
set $path_info $fastcgi_path_info;
|
|
|
|
include fastcgi_params;
|
|
}
|
|
}
|