Nginx PHP-FPM - very slow loading
October 10, 2013 07:39AM
I just switched from apache to nginx.
First i thought to use reverse proxy with apache.

But many people recommended nginx with php-fpm

I just type a simple with <?php echo "soon"; ?>
It takes more seconds to output the result.

http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
server_tokens off;

log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log /var/log/nginx/access.log main;

sendfile on;
#tcp_nopush on;

keepalive_timeout 65;

#gzip on;



include /etc/nginx/sites-enabled/*.conf;
include /etc/nginx/conf.d/*.conf;
}
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 45
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready