{"id":259,"date":"2023-04-10T01:24:00","date_gmt":"2023-04-09T16:24:00","guid":{"rendered":"https:\/\/www.gyuroot.com\/wordpress\/?p=259"},"modified":"2023-05-21T19:08:18","modified_gmt":"2023-05-21T10:08:18","slug":"nginx","status":"publish","type":"post","link":"https:\/\/www.gyuroot.com\/wordpress\/?p=259","title":{"rendered":"NGINX"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_63 counter-hierarchy ez-toc-counter ez-toc-white ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >\ubaa9\ucc28<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=259\/#Apache_vs_NGINX\" title=\"Apache vs NGINX\">Apache vs NGINX<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=259\/#Nginx_%EB%94%94%EB%A0%89%ED%86%A0%EB%A6%AC_%EA%B5%AC%EC%A1%B0\" title=\"Nginx \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\">Nginx \ub514\ub809\ud1a0\ub9ac \uad6c\uc870<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=259\/#etcnginxnginxconf\" title=\"\/etc\/nginx\/nginx.conf\">\/etc\/nginx\/nginx.conf<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=259\/#etcnginxsites-availabledefault\" title=\"\/etc\/nginx\/sites-available\/default\">\/etc\/nginx\/sites-available\/default<\/a><\/li><\/ul><\/nav><\/div>\n\n<blockquote class=\"wp-block-quote has-text-color\" style=\"color:rgb(0, 0, 0)\">\n<p>\uc6f9 \uc11c\ubc84 \ubc0f \ub9ac\ubc84\uc2a4 \ud504\ub85d\uc2dc\ub85c \uc0ac\uc6a9\ub418\ub294 \uace0\uc131\ub2a5 \uc11c\ubc84 \uc18c\ud504\ud2b8\uc6e8\uc5b4\uc785\ub2c8\ub2e4. NGINX\ub294 \ub2e4\uc591\ud55c \uc6b4\uc601 \uccb4\uc81c\uc5d0\uc11c \uc2e4\ud589\ud560 \uc218 \uc788\uc73c\uba70, \ub2e8\uc77c \uc4f0\ub808\ub4dc, \ube44\ub3d9\uae30 \uc774\ubca4\ud2b8 \uae30\ubc18 \uc544\ud0a4\ud14d\ucc98\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub192\uc740 \ucc98\ub9ac\ub7c9\uacfc \uc800\uc9c0\uc5f0 \uc2dc\uac04\uc744 \ubcf4\uc7a5<\/p>\n<\/blockquote>\n\n\n\n<ul>\n<li>\uc815\uc801 \ud30c\uc77c\uc744 \ucc98\ub9ac<\/li>\n\n\n\n<li>WAS \uc11c\ubc84\uc5d0 \uc694\uccad\uc744 \ubcf4\ub0b4\uc8fc\ub294 \ud504\ub85d\uc2dc \uae30\ub2a5 \uc218\ud589.<\/li>\n\n\n\n<li>\ub2e4\uc218\uc758 WAS \uc11c\ubc84\ub85c \uc694\uccad\uc744 \ubd84\ubc30\ud558\ub294 \ub85c\ub4dc\ubc38\ub7f0\uc11c\uc758 \uc5ed\ud560\uc744 \uc218\ud589<\/li>\n\n\n\n<li>SSL or proxy\ub97c \ud1b5\ud574 \ubcf4\uc548 \uac15\ud654<\/li>\n\n\n\n<li>\uce90\uc2f1\ucc98\ub9ac<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Apache_vs_NGINX\"><\/span>Apache vs NGINX<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<blockquote class=\"wp-block-quote has-text-color\" style=\"color:rgb(0, 0, 0)\">\n<p>apache\ub294 \uac01 \uc694\uccad\ub9c8\ub2e4 \uc0c8\ub85c\uc6b4 process\ub97c \uc0dd\uc131\ud558\uae30 \ub54c\ubb38\uc5d0 \uba54\ubaa8\ub9ac \uc0ac\uc6a9\ub7c9\uc774 \ub192\uc544\uc9c4\ub2e4. \ud558\uc9c0\ub9cc \ub2e4\uc591\ud55c \ubaa8\ub4c8\uc744 \ucd94\uac00\ud558\uc5ec \uae30\ub2a5\uc744 \ud655\uc7a5\ud560 \uc218 \uc788\uae30\uc5d0 \ud544\uc694\uc5d0 \ub530\ub77c \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uc120\ud0dd\uc744 \ud560 \ud544\uc694\uac00 \uc788\ub2e4.<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><\/td><td><strong>Apache<\/strong><\/td><td><strong>NGINX<\/strong><\/td><\/tr><tr><td><strong>\uc544\ud0a4\ud14d\ucc98<\/strong><\/td><td>\ud504\ub85c\uc138\uc2a4 \uae30\ubc18 \uc544\ud0a4\ud14d\ucc98<\/td><td>\uc774\ubca4\ud2b8 \uae30\ubc18 \uc544\ud0a4\ud14d\ucc98<\/td><\/tr><tr><td><strong>\uc815\uc801 \ud30c\uc77c \ucc98\ub9ac<\/strong><\/td><td>\ub3d9\uc801 \ucf58\ud150\uce20\uc5d0 \uc801\ud569<\/td><td>\uc815\uc801 \ucf58\ud150\uce20\uc5d0 \uc801\ud569<\/td><\/tr><tr><td><strong>\uc131\ub2a5<\/strong><\/td><td>\uace0\ud2b8\ub798\ud53d\uc5d0\uc11c \uc131\ub2a5\uc774 \ub290\ub9bc<\/td><td>\uace0\ud2b8\ub798\ud53d\uc5d0\uc11c \ube60\ub978 \uc131\ub2a5<\/td><\/tr><tr><td><strong>.htaccess \uc9c0\uc6d0\uc5ec\ubd80<\/strong><\/td><td>.htaccess \uc9c0\uc6d0<\/td><td>.htaccess \uc9c0\uc6d0 \uc5c6\uc74c<\/td><\/tr><tr><td><strong>\uc720\uc5f0\uc131<\/strong><\/td><td>\ub354 \uc720\uc5f0\ud55c \uad6c\uc131<\/td><td>\ub35c \uc720\uc5f0\ud55c \uad6c\uc131<\/td><\/tr><tr><td><strong>\uc548\uc815\uc131<\/strong><\/td><td>\ub354 \uc131\uc219\ud558\uace0 \uc548\uc815\uc801<\/td><td>\uc0c1\ub300\uc801\uc73c\ub85c \uc0c8\ub86d\uace0 \ube60\ub974\uac8c \ubc1c\uc804<\/td><\/tr><tr><td><strong>\ubaa8\ub4c8\uc758 \ub2e4\uc591\uc131<\/strong><\/td><td>\ub354 \ub9ce\uc740 \ubaa8\ub4c8 \uc0ac\uc6a9 \uac00\ub2a5<\/td><td>\ub354 \uc801\uc740 \ubaa8\ub4c8 \uc0ac\uc6a9 \uac00\ub2a5<\/td><\/tr><tr><td><strong>\uacf5\ud1b5\uc810<\/strong><\/td><td>\ub2e4\uc591\ud55c \uc6b4\uc601 \uccb4\uc81c\uc5d0\uc11c \uc2e4\ud589 \uac00\ub2a5<\/td><td>\ub2e4\uc591\ud55c \uc6b4\uc601 \uccb4\uc81c\uc5d0\uc11c \uc2e4\ud589 \uac00\ub2a5<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.gyuroot.com\/wordpress\/wp-content\/uploads\/2023\/05\/apache-ec8aa4eba088eb939c-ebb0a9ec8b9d..png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Apache \uc2a4\ub808\ub4dc \ubc29\uc2dd<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.gyuroot.com\/wordpress\/wp-content\/uploads\/2023\/05\/nginx-event-driven-ebb0a9ec8b9d..png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Nginx Event-driven \ubc29\uc2dd<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Nginx_%EB%94%94%EB%A0%89%ED%86%A0%EB%A6%AC_%EA%B5%AC%EC%A1%B0\"><\/span>Nginx \ub514\ub809\ud1a0\ub9ac \uad6c\uc870<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul>\n<li>\/etc\/nginx\/\n\uc124\uc815 \ud30c\uc77c\uc774 \uc800\uc7a5\ub418\ub294 \ub514\ub809\ud1a0\ub9ac\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc5d0\ub294 nginx\uc758 \uc804\uc5ed \uc124\uc815 \ud30c\uc77c\uacfc \uac01 \uac00\uc0c1 \ud638\uc2a4\ud2b8\uc758 \uc124\uc815 \ud30c\uc77c\uc774 \uc800\uc7a5\ub429\ub2c8\ub2e4.<\/li>\n\n\n\n<li>\/usr\/share\/nginx\/\nnginx\uc5d0 \ub300\ud55c \uae30\ubcf8 \ubb38\uc11c \ub8e8\ud2b8 \ub514\ub809\ud1a0\ub9ac\uc785\ub2c8\ub2e4. \uc774 \ub514\ub809\ud1a0\ub9ac\uc5d0\ub294 \uae30\ubcf8 \ubb38\uc11c \ud30c\uc77c \ubc0f \uae30\ud0c0 \uc790\uc6d0\uc774 \ud3ec\ud568\ub429\ub2c8\ub2e4.<\/li>\n\n\n\n<li>\/var\/log\/nginx\/\nnginx \ub85c\uadf8 \ud30c\uc77c\uc774 \uc800\uc7a5\ub418\ub294 \ub514\ub809\ud1a0\ub9ac\uc785\ub2c8\ub2e4. \uc5ec\uae30\uc5d0\ub294 error.log, access.log, \ubc0f \uae30\ud0c0 \ub85c\uadf8 \ud30c\uc77c\uc774 \uc800\uc7a5\ub429\ub2c8\ub2e4.<\/li>\n\n\n\n<li>\/var\/lib\/nginx\/\nnginx\uc758 \uc791\ub3d9 \uc911\uc5d0 \uc0dd\uc131\ub418\ub294 \uc784\uc2dc \ud30c\uc77c\uacfc \uc0c1\ud0dc \ud30c\uc77c\uc774 \uc800\uc7a5\ub418\ub294 \ub514\ub809\ud1a0\ub9ac\uc785\ub2c8\ub2e4.<\/li>\n\n\n\n<li>\/var\/cache\/nginx\/\nnginx \uce90\uc2dc \ud30c\uc77c\uc774 \uc800\uc7a5\ub418\ub294 \ub514\ub809\ud1a0\ub9ac\uc785\ub2c8\ub2e4. \uc774 \ub514\ub809\ud1a0\ub9ac\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \ud504\ub85d\uc2dc \uc11c\ubc84\ub098 \ub85c\ub4dc \ubc38\ub7f0\uc11c\uc5d0\uc11c \uc0ac\uc6a9<\/li>\n<\/ul>\n\n\n\n<p class=\"has-background\" style=\"background-color:rgb(241, 241, 239)\">\ud83d\udca1 \uc704 \ub514\ub809\ud1a0\ub9ac \uc678\uc5d0\ub3c4, \uc0ac\uc6a9\uc790\uac00 \uc124\uc815\ud55c \uac00\uc0c1 \ud638\uc2a4\ud2b8\uc758 \ubb38\uc11c \ub8e8\ud2b8 \ub514\ub809\ud1a0\ub9ac\ub3c4 \ub514\ub809\ud1a0\ub9ac \uad6c\uc870\uc5d0 \ud3ec\ud568\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ub514\ub809\ud1a0\ub9ac\ub294 \uc77c\ubc18\uc801\uc73c\ub85c \/var\/www\/ \ub610\ub294 \/srv\/www\/\uc640 \uac19\uc740 \uacbd\ub85c\uc5d0 \uc704\uce58\ud558\uba70, \uac00\uc0c1 \ud638\uc2a4\ud2b8\uc5d0 \ub530\ub77c \ub2e4\ub974\uac8c \uc9c0\uc815\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"etcnginxnginxconf\"><\/span>\/etc\/nginx\/nginx.conf<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code><strong># Main Block #\n#\uc804\uccb4\uc801\uc778 \uc124\uc815\uc744 \ub2f4\ub2f9\ud558\ub294 \ube14\ub85d\n#worker_processes, events, http \ub4f1\uc758 \uc124\uc815\uc744 \ud3ec\ud568<\/strong>\nuser nginx; <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#nginx \ud504\ub85c\uc138\uc2a4\uac00 \uc2e4\ud589\ub420 \ub54c \uc0ac\uc6a9\ud560 \uc0ac\uc6a9\uc790\ub97c \uc9c0\uc815<\/strong><\/span>\nworker_processes auto; <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#Nginx \uc6cc\ucee4 \ud504\ub85c\uc138\uc2a4\uc758 \uc218\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4. \n\t\t\t\t\t\t\t\t\t\t\t #\"auto\"\ub85c \uc124\uc815\ud558\uba74 \uc790\ub3d9\uc73c\ub85c \ud504\ub85c\uc138\uc2a4 \uc218\ub97c \uc124\uc815<\/strong><\/span>\nerror_log \/var\/log\/nginx\/error.log; <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#\uc624\ub958 \ub85c\uadf8 \ud30c\uc77c \uacbd\ub85c\ub97c \uc9c0\uc815<\/strong><\/span>\npid \/run\/nginx.pid; <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#PID \uacbd\ub85c \uc9c0\uc815<\/strong><\/span>\nworker_rlimit_nofile <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#\ud558\ub098\uc758 worker \ud504\ub85c\uc138\uc2a4\uac00 \uc5f4 \uc218 \uc788\ub294 \ud30c\uc77c \ub514\uc2a4\ud06c\ub9bd\ud130 \uc218\ub97c \uc81c\ud55c<\/strong><\/span>\n\n<strong># Events block ##\n#worker_connections \ub4f1\uc758 \uc124\uc815\uc744 \ub2f4\uace0 \uc788\uc73c\uba70, \n#Nginx \uc774\ubca4\ud2b8 \ucc98\ub9ac\uc640 \uad00\ub828\ub41c \uc124\uc815\uc744 \ud3ec\ud568<\/strong>\nevents {\n    worker_connections 1024; <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#\ud558\ub098\uc758 worker \ud504\ub85c\uc138\uc2a4\uac00 \ub3d9\uc2dc\uc5d0 \ucc98\ub9ac\ud560 \uc218 \uc788\ub294 \n\t\t\t\t\t\t\t\t\t\t\t\t\t\t #\uc5f0\uacb0 \uc218\ub97c \uc9c0\uc815\uae30\ubcf8\uac12 512<\/strong><\/span>\n\t\tmulti_accept  <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#\uc5ec\ub7ec \uc5f0\uacb0\uc744 \ub3d9\uc2dc\uc5d0 \ubc1b\uc544\ub4e4\uc77c\uc9c0 \uc5ec\ubd80\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4. \uae30\ubcf8\uac12\uc740 off<\/strong><\/span>\n}\n\n\n<strong># HTTP block \n#\uac00\uc7a5 \uc911\uc694\ud55c \ube14\ub85d, \ubaa8\ub4e0 \uc6f9 \uc11c\ubc84\uc640 \uad00\ub828\ub41c \uc124\uc815\uc744 \ub2f4\uace0 \uc788\ub2e4.\n#server \ube14\ub85d\uc744 \ud3ec\ud568\ud558\uba70, \n#\uc774 \ube14\ub85d\uc5d0\uc11c \n#\uac00\uc0c1 \ud638\uc2a4\ud2b8\uc640 \ud504\ub85d\uc2dc \uc11c\ubc84, \uce90\uc2dc \uc11c\ubc84, \ub85c\ub4dc \ubc38\ub7f0\uc2f1 \ub4f1\uc758 \uc124\uc815\uc774 \uac00\ub2a5<\/strong>\nhttp {\n    include \/etc\/nginx\/mime.types; <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#\ub2e4\ub978 \uc124\uc815\uc744 \ub85c\ub4dc<\/strong><\/span>\n    default_type application\/octet-stream;\n\tserver {\n\t\tlisten 80; <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#\uc11c\ubc84\uac00 \ub4e3\uac8c \ub420 IP \uc8fc\uc18c\uc640 \ud3ec\ud2b8\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.<\/strong><\/span>\n\t\tserver_name www.example.com;  <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#\uac00\uc0c1 \ud638\uc2a4\ud2b8\uc758 \ub3c4\uba54\uc778 \uc774\ub984\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.<\/strong><\/span>\n\t\troot \/var\/www\/html;  <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#\uc11c\ubc84\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 \ud30c\uc77c\uc758 \ub8e8\ud2b8 \ub514\ub809\ud1a0\ub9ac\ub97c \uc9c0\uc815\ud569\ub2c8\ub2e4.<\/strong><\/span>\n\t\tindex inde.html;  <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#\uc778\ub371\uc2a4 \ud30c\uc77c\uc758 \uc774\ub984\uc744 \uc9c0\uc815\ud569\ub2c8\ub2e4.\t<\/strong><\/span>\n\t\t\tlocation \/ {  <span style=\"color: rgba(68, 131, 97, 1)\"><strong>#\uc11c\ubc84 \ube14\ub85d \ub0b4\ubd80\uc5d0\uc11c <span class='tooltipsall tooltipsincontent classtoolTips11'>URL<\/span> \uacbd\ub85c\ubcc4\ub85c \uc11c\ub85c \ub2e4\ub978 \uc124\uc815\uc744 \uc9c0\uc815<\/strong><\/span>\n\t\t\t\tproxy_pass http:\/\/localhost:8000;\n\t\t\t\t}\n\t\t}\n    log_format  main  '$remote_addr - $remote_user &#91;$time_local] \"$request\" '\n                      '$status $body_bytes_sent \"$http_referer\" '\n                      '\"$http_user_agent\" \"$http_x_forwarded_for\"';\n\n    access_log  \/var\/log\/nginx\/access.log  main;\n\n    sendfile            on;\n    tcp_nopush          on;\n    tcp_nodelay         on;\n    keepalive_timeout   65;\n    types_hash_max_size 2048;\n\n    include             \/etc\/nginx\/conf.d\/*.conf;\n    include             \/etc\/nginx\/sites-enabled\/*;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"etcnginxsites-availabledefault\"><\/span>\/etc\/nginx\/sites-available\/default<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">Nginx\uc5d0\uc11c \uac00\uc0c1 \ud638\uc2a4\ud2b8\ub97c \uc124\uc815\ud558\uae30 \uc704\ud574 \uc0ac\uc6a9\ub418\ub294 \ud30c\uc77c \uc911 \ud558\ub098\uc774\uba70 nginx\uc758 \uc804\uc5ed\uc124\uc815\uc744 \ud558\ub294 nginx.conf\uc640\ub294 \ub2e4\ub978 \uc124\uc815\ud30c\uc77c<\/p>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">\uac00\uc0c1 \ud638\uc2a4\ud2b8\ub294 \ud558\ub098\uc758 \uc11c\ubc84\uc5d0\uc11c \uc5ec\ub7ec \ub3c4\uba54\uc778 \uc774\ub984\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc5ec\ub7ec \uc6f9 \uc0ac\uc774\ud2b8\ub97c \ud638\uc2a4\ud305\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ub3c4\uba54\uc778 \uc774\ub984 example.com\uacfc example.net\uc774 \uac19\uc740 \uc11c\ubc84\uc5d0\uc11c \ud638\uc2a4\ud305\ub418\uc5b4\uc57c \ud55c\ub2e4\uba74, Nginx\ub294 \uac00\uc0c1 \ud638\uc2a4\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub450 \ub3c4\uba54\uc778 \uc774\ub984\uc5d0 \ub300\ud55c \ubcc4\ub3c4\uc758 \uc124\uc815\uc744 \uad6c\uc131<\/p>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">sites-available\/default \ud30c\uc77c\uc740 \uae30\ubcf8\uc801\uc73c\ub85c Nginx\uc5d0\uc11c \uc81c\uacf5\ud558\ub294 \uae30\ubcf8 \uac00\uc0c1 \ud638\uc2a4\ud2b8 \uc124\uc815 \ud30c\uc77c\uc785\ub2c8\ub2e4. \uc774 \ud30c\uc77c\uc744 \ud3b8\uc9d1\ud558\uc5ec \uae30\ubcf8 \uac00\uc0c1 \ud638\uc2a4\ud2b8\ub97c \uad6c\uc131\ud558\uac70\ub098, \uc0c8\ub85c\uc6b4 \uac00\uc0c1 \ud638\uc2a4\ud2b8\ub97c \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">\ub9cc\uc57d \uc0c8\ub85c\uc6b4 \uac00\uc0c1 \ud638\uc2a4\ud2b8\ub97c \ucd94\uac00\ud558\ub824\uba74, sites-available \ub514\ub809\ud1a0\ub9ac\uc5d0 \uc0c8\ub85c\uc6b4 \uc124\uc815 \ud30c\uc77c\uc744 \uc791\uc131\ud55c \ub2e4\uc74c, \ud574\ub2f9 \ud30c\uc77c\uc744 sites-enabled \ub514\ub809\ud1a0\ub9ac\uc5d0 \uc2ec\ubcfc\ub9ad \ub9c1\ud06c\ub85c \ucd94\uac00\ud574\uc57c \ud569\ub2c8\ub2e4. \uc774\ub807\uac8c\ud558\uba74 Nginx\uac00 \uc0c8\ub85c\uc6b4 \uac00\uc0c1 \ud638\uc2a4\ud2b8 \uc124\uc815 \ud30c\uc77c\uc744 \ub85c\ub4dc\ud558\uc5ec \ub3c4\uba54\uc778 \uc774\ub984\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n\n\n\n<p class=\"has-text-color\" style=\"color:rgb(0, 0, 0)\">\uae30\ubcf8\uc801\uc73c\ub85c sites-available \ub514\ub809\ud1a0\ub9ac\uc5d0 \uc788\ub294 \ubaa8\ub4e0 \ud30c\uc77c\uc774 sites-enabled \ub514\ub809\ud1a0\ub9ac\uc5d0 \uc788\ub294 \uc2ec\ubcfc\ub9ad \ub9c1\ud06c\ub97c \ud1b5\ud574 \ud65c\uc131\ud654\ub429\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc6f9 \uc11c\ubc84\uac00 \ub85c\ub4dc\ud558\ub294 \uac00\uc0c1 \ud638\uc2a4\ud2b8 \uc124\uc815\uc744 \uc720\uc5f0\ud558\uac8c \uad00\ub9ac<\/p>\n<script type=\"text\/javascript\"> toolTips('.classtoolTips11','<span class=\"notion-enable-hover\" data-token-index=\"0\">Uniform Resource Locator<br\/><\/span><br\/><br\/><a href=\"\/wordpress\/?p=65\">Detail<\/a>'); <\/script>","protected":false},"excerpt":{"rendered":"<p>\uc6f9 \uc11c\ubc84 \ubc0f \ub9ac\ubc84\uc2a4 \ud504\ub85d\uc2dc\ub85c \uc0ac\uc6a9\ub418\ub294 \uace0\uc131\ub2a5 \uc11c\ubc84 \uc18c\ud504\ud2b8\uc6e8\uc5b4\uc785\ub2c8\ub2e4. NGINX\ub294 \ub2e4\uc591\ud55c \uc6b4\uc601 \uccb4\uc81c\uc5d0\uc11c \uc2e4\ud589\ud560 \uc218 \uc788\uc73c\uba70, \ub2e8\uc77c \uc4f0\ub808\ub4dc, \ube44\ub3d9\uae30 \uc774\ubca4\ud2b8 \uae30\ubc18 \uc544\ud0a4\ud14d\ucc98\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub192\uc740 \ucc98\ub9ac\ub7c9\uacfc \uc800\uc9c0\uc5f0 \uc2dc\uac04\uc744 \ubcf4\uc7a5 Apache vs NGINX apache\ub294 \uac01 \uc694\uccad\ub9c8\ub2e4 \uc0c8\ub85c\uc6b4 process\ub97c \uc0dd\uc131\ud558\uae30 \ub54c\ubb38\uc5d0 \uba54\ubaa8\ub9ac \uc0ac\uc6a9\ub7c9\uc774 \ub192\uc544\uc9c4\ub2e4. \ud558\uc9c0\ub9cc \ub2e4\uc591\ud55c \ubaa8\ub4c8\uc744 \ucd94\uac00\ud558\uc5ec \uae30\ub2a5\uc744 \ud655\uc7a5\ud560 \uc218 \uc788\uae30\uc5d0 \ud544\uc694\uc5d0 \ub530\ub77c \uc18c\ud504\ud2b8\uc6e8\uc5b4 \uc120\ud0dd\uc744 \ud560 \ud544\uc694\uac00 &#8230; <a title=\"NGINX\" class=\"read-more\" href=\"https:\/\/www.gyuroot.com\/wordpress\/?p=259\" aria-label=\"More on NGINX\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":420,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":""},"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/259"}],"collection":[{"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=259"}],"version-history":[{"count":2,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/259\/revisions"}],"predecessor-version":[{"id":421,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/259\/revisions\/421"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/420"}],"wp:attachment":[{"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gyuroot.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}