Home > database >  Nginx configuration file code
Nginx configuration file code

Time:09-23

worker_processes 1;
Events {
Worker_connections 1042;
HTTP {}
include mime.types;
Default_type application/octet - stream; Sendfile on;
Keepalive_timeout 65;
Server {listen 8080;
server_name localhost;
Root/storage/emulated/0/BaiduNetdisk/WWW. index index.html index.htm;
Error_page 504/50, 500, 502, 503 x. HTML;
Location=/50 x) HTML {
The root/data/data/com. Termux/files/usr/share/nginx/HTML;
}

The location ~. \. PHP ${root HTML;
Fastcgi_pass 127.0.0.1:9000;
Fastcgi_index index. PHP;
Fastcgi_param SCRIPT_FILENAME/storage/emulated/0/BaiduNetdisk/WWW $fastcgi_script_name;

The include fastcgi_params;
}
}
}
  • Related