{"id":38382,"date":"2024-11-01T17:18:03","date_gmt":"2024-11-01T17:18:03","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38382"},"modified":"2024-11-26T06:44:28","modified_gmt":"2024-11-26T06:44:28","slug":"express-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c-express-js%ec%9d%98-%ec%9d%b8%ea%b8%b0-%ec%9e%88%eb%8a%94-%eb%af%b8%eb%93%a4%ec%9b%a8%ec%96%b4-%ec%86%8c%ea%b0%9c-helmet-morgan-%eb%93%b1","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38382\/","title":{"rendered":"Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1)"},"content":{"rendered":"<p><body><\/p>\n<p>Express.js\ub294 \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c \uc911 \ud558\ub098\ub85c, Node.js \ud658\uacbd\uc5d0\uc11c \uac15\ub825\ud558\uace0 \uc720\uc5f0\ud55c \ubc31\uc5d4\ub4dc \uc11c\ubc84\ub97c \uad6c\ucd95\ud558\ub294 \ub370 \uc801\ud569\ud569\ub2c8\ub2e4. Express\ub294 \ubbf8\ub4e4\uc6e8\uc5b4\ub97c \ud1b5\ud574 \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \uc190\uc27d\uac8c \ud655\uc7a5\ud560 \uc218 \uc788\uc73c\uba70, \uc774\ub97c \ud65c\uc6a9\ud558\uc5ec \ubcf4\uc548, \uc131\ub2a5 \ubaa8\ub2c8\ud130\ub9c1, \ub85c\uae45 \ub4f1\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express.js\uc5d0\uc11c \uc790\uc8fc \uc0ac\uc6a9\ub418\ub294 \ubbf8\ub4e4\uc6e8\uc5b4\uc778 Helmet\uacfc Morgan\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. Express.js \ubbf8\ub4e4\uc6e8\uc5b4\ub780?<\/h2>\n<p>\ubbf8\ub4e4\uc6e8\uc5b4\ub294 \uc694\uccad(req) \ubc0f \uc751\ub2f5(res) \uac1d\uccb4\ub97c \uc218\uc815\ud558\uac70\ub098 \uc81c\uc5b4\ud558\uc5ec \ucd94\uac00\uc801\uc778 \ucc98\ub9ac\ub97c \uc81c\uacf5\ud558\ub294 \ud568\uc218\uc785\ub2c8\ub2e4. Express \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c\ub294 \uc5ec\ub7ec \ub2e8\uacc4\uc758 \ubbf8\ub4e4\uc6e8\uc5b4\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uac01 \ubbf8\ub4e4\uc6e8\uc5b4\ub294 \uc694\uccad\uc774 \ub4e4\uc5b4\uc62c \ub54c \uc2e4\ud589\ub418\uba70, \ud544\uc694\ud55c \uacbd\uc6b0 \ub2e4\uc74c \ubbf8\ub4e4\uc6e8\uc5b4\ub85c \uc81c\uc5b4\ub97c \ub118\uae38 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uae30\ubcf8\uc801\uc73c\ub85c \ubbf8\ub4e4\uc6e8\uc5b4\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uae30\ub2a5\uc744 \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>\uc694\uccad \ubcf8\ubb38 \ud574\uc11d<\/li>\n<li>\ub85c\uadf8 \uae30\ub85d<\/li>\n<li>\ubcf4\uc548 \uc124\uc815<\/li>\n<li>\uc138\uc158 \uad00\ub9ac<\/li>\n<li>\uc624\ub958 \ucc98\ub9ac<\/li>\n<\/ul>\n<h2>2. Helmet<\/h2>\n<p>Helmet\uc740 Express \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c HTTP \ud5e4\ub354\ub97c \uc124\uc815\ud558\uc5ec \ubcf4\uc548\uc744 \uac15\ud654\ud558\ub294 \ubbf8\ub4e4\uc6e8\uc5b4\uc785\ub2c8\ub2e4. \uae30\ubcf8\uc801\uc73c\ub85c Helmet\uc740 \uc5ec\ub7ec \uac00\uc9c0 \uae30\ubcf8 \ubcf4\uc548 \uc124\uc815\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc790\uc8fc \ubc1c\uc0dd\ud558\ub294 \ubcf4\uc548 \ucde8\uc57d\uc810\uc744 \ubbf8\ub9ac \ucc28\ub2e8\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc90d\ub2c8\ub2e4.<\/p>\n<h3>2.1 Helmet \uc124\uce58<\/h3>\n<p>Helmet\uc744 \uc124\uce58\ud558\ub824\uba74 npm\uc744 \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud788 \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc785\ub825\ud558\uba74 \ub429\ub2c8\ub2e4:<\/p>\n<pre><code>npm install helmet<\/code><\/pre>\n<h3>2.2 Helmet \uc0ac\uc6a9\ubc95<\/h3>\n<p>Helmet\uc744 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \uc0ac\uc6a9\ud558\ub824\uba74, Express \uc571\uc5d0 Helmet\uc744 \ubbf8\ub4e4\uc6e8\uc5b4\ub85c \ucd94\uac00\ud558\uba74 \ub429\ub2c8\ub2e4. \uc544\ub798\uc758 \uc608\uc81c\ub97c \ud1b5\ud574 Helmet\uc758 \uae30\ubcf8 \uc124\uc815\uc744 \uc801\uc6a9\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>\n    const express = require('express');\n    const helmet = require('helmet');\n\n    const app = express();\n    \n    \/\/ Helmet \ubbf8\ub4e4\uc6e8\uc5b4 \uc0ac\uc6a9\n    app.use(helmet());\n\n    app.get('\/', (req, res) =&gt; {\n        res.send('Hello, World!');\n    });\n\n    app.listen(3000, () =&gt; {\n        console.log('Server is running on http:\/\/localhost:3000');\n    });\n    <\/code><\/pre>\n<h3>2.3 Helmet\uc758 \ub2e4\uc591\ud55c \uae30\ub2a5<\/h3>\n<p>Helmet\uc740 \ub2e4\uc591\ud55c \ubaa8\ub4c8\uc744 \ud3ec\ud568\ud558\uace0 \uc788\uc73c\uba70, \uac01 \ubaa8\ub4c8\uc740 \ud2b9\uc815 HTTP \ud5e4\ub354\ub97c \uc124\uc815\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4:<\/p>\n<ul>\n<li><code>helmet.contentSecurityPolicy()<\/code>: \ucf58\ud150\uce20 \ubcf4\uc548 \uc815\ucc45\uc744 \uc815\uc758\ud558\uc5ec XSS \uacf5\uaca9\uc744 \ubc29\uc9c0\ud569\ub2c8\ub2e4.<\/li>\n<li><code>helmet.referrerPolicy()<\/code>: \ub9ac\ud37c\ub7ec \uc815\ubcf4\ub97c \uc81c\uc5b4\ud558\uc5ec \uac1c\uc778\uc815\ubcf4 \ubcf4\ud638\ub97c \uac15\ud654\ud569\ub2c8\ub2e4.<\/li>\n<li><code>helmet.xssFilter()<\/code>: XSS \ud544\ud130\ub97c \ud65c\uc131\ud654\ud558\uc5ec \uc2a4\ud06c\ub9bd\ud2b8 \uacf5\uaca9\uc744 \ubc29\uc9c0\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>2.4 Helmet \uc124\uc815 \uc608\uc81c<\/h3>\n<p>Helmet\uc744 \uc0ac\uc6a9\ud558\uc5ec \ud2b9\uc815 \uc124\uc815\uc744 \uc870\uc815\ud558\ub294 \ubc29\ubc95\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>\n    app.use(helmet({\n        contentSecurityPolicy: {\n            directives: {\n                defaultSrc: [\"'self'\"],\n                scriptSrc: [\"'self'\", \"https:\/\/trusted-script.com\"]\n            }\n        },\n        referrerPolicy: { policy: 'no-referrer' },\n    }));\n    <\/code><\/pre>\n<h2>3. Morgan<\/h2>\n<p>Morgan\uc740 HTTP \uc694\uccad \ub85c\uae45\uc744 \uc704\ud55c \ubbf8\ub4e4\uc6e8\uc5b4\ub85c, \uc8fc\ub85c \uac1c\ubc1c \uc911\uc774\ub098 \ud504\ub85c\ub355\uc158 \ud658\uacbd\uc5d0\uc11c \uc694\uccad\uc758 \uc138\ubd80 \uc815\ubcf4\ub97c \uae30\ub85d\ud558\ub294 \ub370 \uc0ac\uc6a9\ub429\ub2c8\ub2e4. Morgan\uc744 \uc0ac\uc6a9\ud558\uba74 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ub3d9\uc791 \uc0c1\ud669\uc744 \uc27d\uac8c \ubaa8\ub2c8\ud130\ub9c1\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.1 Morgan \uc124\uce58<\/h3>\n<p>Morgan\uc740 npm\uc744 \ud1b5\ud574 \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>npm install morgan<\/code><\/pre>\n<h3>3.2 Morgan \uc0ac\uc6a9\ubc95<\/h3>\n<p>Morgan\uc744 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ucd94\uac00\ud558\ub824\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \uc124\uc815\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>\n    const morgan = require('morgan');\n\n    app.use(morgan('combined'));  \/\/ \ub2e4\uc591\ud55c \ub85c\uae45 \uc635\uc158 \uc911 'combined' \uc0ac\uc6a9\n    <\/code><\/pre>\n<h3>3.3 Morgan\uc758 \ub85c\uae45 \uc635\uc158<\/h3>\n<p>Morgan\uc740 \ub2e4\uc591\ud55c \ub85c\uae45 \ud615\uc2dd\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uba87 \uac00\uc9c0 \uc608\uc785\ub2c8\ub2e4:<\/p>\n<ul>\n<li><code>'tiny'<\/code>: \uc694\uccad\uc758 \uba54\uc11c\ub4dc, URL, \uc751\ub2f5 \uc2dc\uac04\ub9cc\uc744 \uae30\ub85d\ud569\ub2c8\ub2e4.<\/li>\n<li><code>'dev'<\/code>: \uceec\ub7ec\ub85c \ud45c\uc2dc\ub41c \uac04\ub2e8\ud55c \ud615\uc2dd\uc73c\ub85c \ub85c\uadf8\ub97c \ucd9c\ub825\ud569\ub2c8\ub2e4.<\/li>\n<li><code>'combined'<\/code>: \ud074\ub77c\uc774\uc5b8\ud2b8\uc758 IP, \uba54\uc11c\ub4dc, URL, HTTP \ubc84\uc804, \uc751\ub2f5 \uc0c1\ud0dc \ucf54\ub4dc \ub4f1\uc744 \ud3ec\ud568\ud558\uc5ec \ubaa8\ub4e0 \uc815\ubcf4\ub97c \uae30\ub85d\ud569\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h3>3.4 Morgan \uc124\uc815 \uc608\uc81c<\/h3>\n<p>\uc544\ub798\ub294 Morgan\uc744 \uc0ac\uc6a9\ud558\uc5ec \ub85c\uadf8\ub97c \ud30c\uc77c\ub85c \uc800\uc7a5\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc8fc\ub294 \uc608\uc81c\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>\n    const fs = require('fs');\n    const path = require('path');\n    const morgan = require('morgan');\n\n    \/\/ \ub85c\uadf8 \uc2a4\ud2b8\ub9bc\uc744 \ud30c\uc77c\ub85c \uc800\uc7a5\ud558\uae30 \uc704\ud574 createWriteStream \uc0ac\uc6a9\n    const accessLogStream = fs.createWriteStream(path.join(__dirname, 'access.log'), { flags: 'a' });\n\n    app.use(morgan('combined', { stream: accessLogStream }));  \/\/ \ub85c\uadf8\ub97c \ud30c\uc77c\ub85c \uc2a4\ud2b8\ub9ac\ubc0d\n    <\/code><\/pre>\n<h2>4. \uacb0\ub860<\/h2>\n<p>\uc774 \uac15\uc88c\uc5d0\uc11c\ub294 Express.js\uc5d0\uc11c \uc790\uc8fc \uc0ac\uc6a9\ub418\ub294 \ubbf8\ub4e4\uc6e8\uc5b4\uc778 Helmet\uacfc Morgan\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. Helmet\uc744 \ud1b5\ud574 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubcf4\uc548\uc744 \uac15\ud654\ud558\uace0, Morgan\uc744 \ud1b5\ud574 HTTP \uc694\uccad\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uae30\ub85d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub7ec\ud55c \ubbf8\ub4e4\uc6e8\uc5b4\ub4e4\uc740 Express \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub354\uc6b1 \uacac\uace0\ud558\uace0 \uc548\uc804\ud558\uac8c \ub9cc\ub4dc\ub294 \ub370 \uae30\uc5ec\ud569\ub2c8\ub2e4. \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud560 \ub54c \uc774\ub7ec\ud55c \ubbf8\ub4e4\uc6e8\uc5b4\ub97c \uc801\uc808\ud788 \ud65c\uc6a9\ud558\uc5ec \ucd5c\uc0c1\uc758 \uacb0\uacfc\ub97c \uc5bb\uc73c\uc2dc\uae38 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<h2>5. \ucc38\uace0 \uc790\ub8cc<\/h2>\n<p>\ub354 \uae4a\uc774 \uc788\ub294 \ub0b4\uc6a9\uc744 \uc54c\uace0 \uc2f6\ub2e4\uba74 \uc544\ub798\uc758 \uacf5\uc2dd \ubb38\uc11c\ub97c \ucc38\uace0\ud558\uc138\uc694:<\/p>\n<ul>\n<li><a href=\"https:\/\/helmetjs.github.io\/docs\/\" target=\"_blank\" rel=\"noopener\">Helmet \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/expressjs\/morgan\" target=\"_blank\" rel=\"noopener\">Morgan \uacf5\uc2dd GitHub<\/a><\/li>\n<li><a href=\"https:\/\/expressjs.com\/en\/guide\/using-middleware.html\" target=\"_blank\" rel=\"noopener\">Express.js \ubbf8\ub4e4\uc6e8\uc5b4 \uac00\uc774\ub4dc<\/a><\/li>\n<\/ul>\n<footer>\n<p>\uc774 \uae00\uc740 Express \ubc31\uc564\ub4dc \uc11c\ubc84 \uac1c\ubc1c\uc5d0 \uad00\ud55c \uac15\uc88c\uc758 \uc77c\ud658\uc73c\ub85c \uc791\uc131\ub418\uc5c8\uc2b5\ub2c8\ub2e4.<\/p>\n<\/footer>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Express.js\ub294 \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c \uc911 \ud558\ub098\ub85c, Node.js \ud658\uacbd\uc5d0\uc11c \uac15\ub825\ud558\uace0 \uc720\uc5f0\ud55c \ubc31\uc5d4\ub4dc \uc11c\ubc84\ub97c \uad6c\ucd95\ud558\ub294 \ub370 \uc801\ud569\ud569\ub2c8\ub2e4. Express\ub294 \ubbf8\ub4e4\uc6e8\uc5b4\ub97c \ud1b5\ud574 \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \uc190\uc27d\uac8c \ud655\uc7a5\ud560 \uc218 \uc788\uc73c\uba70, \uc774\ub97c \ud65c\uc6a9\ud558\uc5ec \ubcf4\uc548, \uc131\ub2a5 \ubaa8\ub2c8\ud130\ub9c1, \ub85c\uae45 \ub4f1\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express.js\uc5d0\uc11c \uc790\uc8fc \uc0ac\uc6a9\ub418\ub294 \ubbf8\ub4e4\uc6e8\uc5b4\uc778 Helmet\uacfc Morgan\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. Express.js \ubbf8\ub4e4\uc6e8\uc5b4\ub780? \ubbf8\ub4e4\uc6e8\uc5b4\ub294 \uc694\uccad(req) \ubc0f \uc751\ub2f5(res) &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38382\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[181],"tags":[],"class_list":["post-38382","post","type-post","status-publish","format-standard","hentry","category-express"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/38382\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Express.js\ub294 \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c \uc911 \ud558\ub098\ub85c, Node.js \ud658\uacbd\uc5d0\uc11c \uac15\ub825\ud558\uace0 \uc720\uc5f0\ud55c \ubc31\uc5d4\ub4dc \uc11c\ubc84\ub97c \uad6c\ucd95\ud558\ub294 \ub370 \uc801\ud569\ud569\ub2c8\ub2e4. Express\ub294 \ubbf8\ub4e4\uc6e8\uc5b4\ub97c \ud1b5\ud574 \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \uc190\uc27d\uac8c \ud655\uc7a5\ud560 \uc218 \uc788\uc73c\uba70, \uc774\ub97c \ud65c\uc6a9\ud558\uc5ec \ubcf4\uc548, \uc131\ub2a5 \ubaa8\ub2c8\ud130\ub9c1, \ub85c\uae45 \ub4f1\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express.js\uc5d0\uc11c \uc790\uc8fc \uc0ac\uc6a9\ub418\ub294 \ubbf8\ub4e4\uc6e8\uc5b4\uc778 Helmet\uacfc Morgan\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. Express.js \ubbf8\ub4e4\uc6e8\uc5b4\ub780? \ubbf8\ub4e4\uc6e8\uc5b4\ub294 \uc694\uccad(req) \ubc0f \uc751\ub2f5(res) &hellip; \ub354 \ubcf4\uae30 &quot;Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1)&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38382\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T17:18:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:44:28+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/38382\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38382\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1)\",\"datePublished\":\"2024-11-01T17:18:03+00:00\",\"dateModified\":\"2024-11-26T06:44:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38382\/\"},\"wordCount\":70,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"Express\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38382\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38382\/\",\"name\":\"Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T17:18:03+00:00\",\"dateModified\":\"2024-11-26T06:44:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38382\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38382\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38382\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/38382\/","og_locale":"ko_KR","og_type":"article","og_title":"Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Express.js\ub294 \uac00\uc7a5 \uc778\uae30 \uc788\ub294 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ud504\ub808\uc784\uc6cc\ud06c \uc911 \ud558\ub098\ub85c, Node.js \ud658\uacbd\uc5d0\uc11c \uac15\ub825\ud558\uace0 \uc720\uc5f0\ud55c \ubc31\uc5d4\ub4dc \uc11c\ubc84\ub97c \uad6c\ucd95\ud558\ub294 \ub370 \uc801\ud569\ud569\ub2c8\ub2e4. Express\ub294 \ubbf8\ub4e4\uc6e8\uc5b4\ub97c \ud1b5\ud574 \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \uc190\uc27d\uac8c \ud655\uc7a5\ud560 \uc218 \uc788\uc73c\uba70, \uc774\ub97c \ud65c\uc6a9\ud558\uc5ec \ubcf4\uc548, \uc131\ub2a5 \ubaa8\ub2c8\ud130\ub9c1, \ub85c\uae45 \ub4f1\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Express.js\uc5d0\uc11c \uc790\uc8fc \uc0ac\uc6a9\ub418\ub294 \ubbf8\ub4e4\uc6e8\uc5b4\uc778 Helmet\uacfc Morgan\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. 1. Express.js \ubbf8\ub4e4\uc6e8\uc5b4\ub780? \ubbf8\ub4e4\uc6e8\uc5b4\ub294 \uc694\uccad(req) \ubc0f \uc751\ub2f5(res) &hellip; \ub354 \ubcf4\uae30 \"Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1)\"","og_url":"https:\/\/atmokpo.com\/w\/38382\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T17:18:03+00:00","article_modified_time":"2024-11-26T06:44:28+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/38382\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38382\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1)","datePublished":"2024-11-01T17:18:03+00:00","dateModified":"2024-11-26T06:44:28+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38382\/"},"wordCount":70,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["Express\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38382\/","url":"https:\/\/atmokpo.com\/w\/38382\/","name":"Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1) - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T17:18:03+00:00","dateModified":"2024-11-26T06:44:28+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38382\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38382\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38382\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"Express \uac1c\ubc1c \uac15\uc88c, Express.js\uc758 \uc778\uae30 \uc788\ub294 \ubbf8\ub4e4\uc6e8\uc5b4 \uc18c\uac1c (Helmet, Morgan \ub4f1)"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=38382"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38382\/revisions"}],"predecessor-version":[{"id":38383,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38382\/revisions\/38383"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}