ได้ไม่ได้ยังไง cat /etc/nginx/nginx.conf มาให้ดูหน่อยก็ดีครับ
ซัฟพอร์ต เค้าแก้ให้ 2 ไฟล์นี้ครับ /etc/nginx/nginx.conf เขาไม่ได้แก้ไขครับ
I understand that you need to know more about the optimized configuration of your server. You can review this by checking the configuration file /etc/httpd/conf/httpd.conf and /etc/my.cnf .
นี้เป็น /etc/nginx/nginx.conf ครับ น่าจะเป็นค่าเดิม
#user nginx;
worker_processes 1;
#error_log /var/log/nginx/error.log;
#error_log /var/log/nginx/error.log notice;
#error_log /var/log/nginx/error.log info;
#pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
#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 0;
keepalive_timeout 65;
#tcp_nodelay on;
#gzip on;
#gzip_disable "MSIE [1-6]\.(?!.*SV1)";
server_tokens off;
include /etc/nginx/conf.d/*.conf;
}
ถ้ามีคำแนะนำดีๆ ช่วยบอกทีนะครับ ขอบคุณครับ