수정된 설정파일 입니다.
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log crit;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
server_tokens off;
include /etc/nginx/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 20s;
# reduce the data that needs to be sent over network
gzip on;
gzip_min_length 1024;
gzip_comp_level 5;
gzip_types
application/atom+xml
application/javascript
application/json
application/ld+json
application/manifest+json
application/rss+xml
application/vnd.geo+json
application/vnd.ms-fontobject
application/x-font-ttf
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
font/opentype
image/bmp
image/svg+xml
image/x-icon
text/cache-manifest
text/css
text/plain
text/vcard
text/vnd.rim.location.xloc
text/vtt
text/x-component
text/x-cross-domain-policy;
include /etc/nginx/conf.d/*.conf;
}
¿äÁòÀº APMÀº °¬°í nginx °¡ ´ë¼¼Àΰ¡¿ä ??
nginx °¡ ¶ß°í ÀÖ´Ù°í Çؼ ¹Ù²ãºÃ½À´Ï´Ù.
apache´Â °³¹ßÀÚµéÀÌ ¸¹Àº ÁÙ¾îµç °Í °°½À´Ï´Ù.
2.4.x ÀÌÈÄÀÇ ÇÁ·ÎÁ§Æ®°¡ ¾ø¾î¿ä.