nginx(v1.24) 설치 후 /etc/nginx/nginx.conf 의 기본 설정 값입니다
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
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 65;
#gzip on;
include /etc/nginx/conf.d/*.conf;
}
'IT > Nginx' 카테고리의 다른 글
Nginx 설치 직후 default.conf (1) | 2023.06.13 |
---|---|
Nginx 설치 직후 /var/run/nginx.pid 퍼미션 오류 (0) | 2023.06.13 |
Nginx 50x 에러 처리를 위한 html (0) | 2023.06.13 |
Nginx Proxy (0) | 2021.05.12 |