
서버에서 존재하지 않는 페이지 혹은 서버 에러가 났을 때 Nginx 설정만으로도 에러 페이지를 출력할 수 있습니다. 설정하는 법은 nginx.conf 내의 http를 수정하면 됩니다. 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; ..
Server
2021. 6. 26. 14:31
공지사항