{"id":11314,"date":"2026-10-02T22:30:47","date_gmt":"2026-10-02T13:30:47","guid":{"rendered":"https:\/\/techmania.jp\/blog\/?p=11314"},"modified":"2026-10-02T22:30:49","modified_gmt":"2026-10-02T13:30:49","slug":"nginx","status":"publish","type":"post","link":"https:\/\/techmania.jp\/blog\/nginx\/","title":{"rendered":"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Nginx\uff08\u30a8\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">Web\u30b5\u30fc\u30d0\u30fc\u3084\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u5e83\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u3001\u8efd\u91cf\u30fb\u9ad8\u6027\u80fd\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2<\/span>\u3067\u3059\u3002<br>\u5c11\u306a\u3044\u30ea\u30bd\u30fc\u30b9\u3067\u5927\u91cf\u306e\u30a2\u30af\u30bb\u30b9\u3092\u51e6\u7406\u3067\u304d\u308b\u8a2d\u8a08\u304c\u7279\u5fb4\u3067\u3001\u9759\u7684\u306aWeb\u30da\u30fc\u30b8\u306e\u914d\u4fe1\u304b\u3089\u3001Node.js\u3084Python\u3067\u4f5c\u6210\u3057\u305fWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u524d\u6bb5\u307e\u3067\u3001\u3055\u307e\u3056\u307e\u306a\u5834\u9762\u3067\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u8a18\u4e8b\u3067\u306f\u3001Nginx\u306e\u7279\u5fb4\u3084Apache\u3068\u306e\u9055\u3044\u3092\u89e3\u8aac\u3057\u305f\u4e0a\u3067\u3001Ubuntu\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u9759\u7684\u30da\u30fc\u30b8\u306e\u516c\u958b\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u8a2d\u5b9a\u3001\u3088\u304f\u3042\u308b\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5\u307e\u3067\u3092\u9806\u756a\u306b\u7d39\u4ecb\u3057\u307e\u3059\u3002<br>\u8a18\u4e8b\u306e\u624b\u9806\u3069\u304a\u308a\u306b\u9032\u3081\u308c\u3070\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u521d\u3081\u3066\u306e\u65b9\u3067\u3082Nginx\u3067\u5b9f\u969b\u306bWeb\u30da\u30fc\u30b8\u3092\u516c\u958b\u3067\u304d\u308b<\/span>\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__1\" class=\"wp-block-heading\">Nginx\u3068\u306f<\/h2>\n\n\n\n<h3 id=\"outline__1_1\" class=\"wp-block-heading\">Nginx\u306e\u8aad\u307f\u65b9\u3068\u57fa\u672c\u7684\u306a\u5f79\u5272<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306f\u300c\u30a8\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\u300d\u3068\u8aad\u307f\u3001\u300cengine x\u300d\u306b\u7531\u6765\u3059\u308b\u540d\u524d\u3067\u3059\u3002<br><a href=\"https:\/\/nginx.org\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">nginx\u516c\u5f0f\u30b5\u30a4\u30c8\uff08nginx.org\uff09<\/a>\u3067\u306f\u3001Nginx\u306f<span class=\"c-user01\" style=\"font-weight:bold;\">HTTP\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u30ad\u30e3\u30c3\u30b7\u30e5\u3001\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u306a\u3069\u3068\u3057\u3066\u52d5\u4f5c\u3059\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2<\/span>\u3068\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u306a\u304a\u3001\u516c\u5f0f\u30b5\u30a4\u30c8\u3084\u30b3\u30de\u30f3\u30c9\u540d\u3067\u306f\u5c0f\u6587\u5b57\u306e\u300cnginx\u300d\u3001\u5546\u7528\u88fd\u54c1\u3084\u30d6\u30e9\u30f3\u30c9\u540d\u3068\u3057\u3066\u306f\u5927\u6587\u5b57\u306e\u300cNGINX\u300d\u3068\u8868\u8a18\u3055\u308c\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3059\u3002<br>\u672c\u8a18\u4e8b\u3067\u306f\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u540d\u3092\u300cNginx\u300d\u3001\u30b3\u30de\u30f3\u30c9\u3084\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u300cnginx\u300d\u3068\u8868\u8a18\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__1_2\" class=\"wp-block-heading\">Nginx\u306e\u7279\u5fb4\u3068\u958b\u767a\u306e\u80cc\u666f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306f\u3001\u9ad8\u3044\u51e6\u7406\u6027\u80fd\u3068\u8efd\u91cf\u3055\u304c\u7279\u5fb4\u7684\u306a\u3001\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eWeb\u30b5\u30fc\u30d0\u30fc\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u3059\u3002<br>2000\u5e74\u4ee3\u524d\u534a\u306b\u3001\u30ed\u30b7\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3042\u308bIgor Sysoev\u6c0f\u306b\u3088\u3063\u3066\u958b\u767a\u3055\u308c\u30012004\u5e74\u306b\u4e00\u822c\u516c\u958b\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u6642\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3067\u306f\u30011\u53f0\u306e\u30b5\u30fc\u30d0\u30fc\u30671\u4e07\u4ef6\u898f\u6a21\u306e\u540c\u6642\u63a5\u7d9a\u3092\u3069\u3046\u51e6\u7406\u3059\u308b\u304b\u3068\u3044\u3046\u8ab2\u984c\uff08C10K\u554f\u984c\uff09\u304c\u6ce8\u76ee\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<br>\u3053\u306e\u8ab2\u984c\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u3001Nginx\u306f<span class=\"c-user01\" style=\"font-weight:bold;\">\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u578b\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u63a1\u7528\u3057\u3001\u5c11\u306a\u3044\u30d7\u30ed\u30bb\u30b9\u3067\u5927\u91cf\u306e\u540c\u6642\u63a5\u7d9a\u3092\u52b9\u7387\u3088\u304f\u51e6\u7406\u3067\u304d\u308b<\/span>\u3088\u3046\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u7279\u5fb4\u304b\u3089\u3001\u30a2\u30af\u30bb\u30b9\u6570\u304c\u591a\u3044Web\u30b5\u30a4\u30c8\u3084\u3001\u8907\u6570\u306e\u30b5\u30fc\u30d0\u30fc\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u7d44\u307f\u5408\u308f\u305b\u305f\u30b7\u30b9\u30c6\u30e0\u306a\u3069\u3067\u5e83\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u307e\u305f\u3001Nginx\u306e\u8a2d\u5b9a\u306f\u30c6\u30ad\u30b9\u30c8\u5f62\u5f0f\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u3059\u308b\u305f\u3081\u3001\u7528\u9014\u306b\u5fdc\u3058\u3066\u52d5\u4f5c\u3092\u7d30\u304b\u304f\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__1_3\" class=\"wp-block-heading\">Nginx\u304c\u591a\u304f\u306e\u63a5\u7d9a\u3092\u51e6\u7406\u3067\u304d\u308b\u4ed5\u7d44\u307f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306f\u8d77\u52d5\u3059\u308b\u3068\u30011\u3064\u306e\u300c\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u300d\u3068\u3001\u8907\u6570\u306e\u300c\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u300d\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\uff1a\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u3001\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u3092\u8d77\u52d5\u30fb\u7ba1\u7406\u3059\u308b<\/li>\n\n\n\n<li>\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\uff1a\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5b9f\u969b\u306b\u51e6\u7406\u3059\u308b<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u306f\u3001\u63a5\u7d9a1\u3064\u3054\u3068\u306b\u5c02\u7528\u306e\u30d7\u30ed\u30bb\u30b9\u3084\u30b9\u30ec\u30c3\u30c9\u3092\u5272\u308a\u5f53\u3066\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u300c\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3067\u304d\u308b\u300d\u300c\u9001\u4fe1\u3067\u304d\u308b\u300d\u3068\u3044\u3063\u305f<span class=\"c-user01\" style=\"font-weight:bold;\">\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u751f\u3057\u305f\u63a5\u7d9a\u304b\u3089\u9806\u756a\u306b\u51e6\u7406\u3057\u3066\u3044\u304f<\/span>\u4ed5\u7d44\u307f\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<br>\u5fdc\u7b54\u3092\u5f85\u3063\u3066\u3044\u308b\u3060\u3051\u306e\u63a5\u7d9a\u306e\u305f\u3081\u306b\u30d7\u30ed\u30bb\u30b9\u3084\u30b9\u30ec\u30c3\u30c9\u3092\u78ba\u4fdd\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u306a\u3044\u305f\u3081\u3001\u540c\u6642\u63a5\u7d9a\u6570\u304c\u5897\u3048\u3066\u3082\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf\u3092\u6291\u3048\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d7\u30ed\u30bb\u30b9\u306e\u5f79\u5272\u3084\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/nginx.org\/en\/docs\/beginners_guide.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">nginx\u516c\u5f0f\u306eBeginner\u2019s Guide<\/a>\u3067\u3082\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<style>\n.img-zoom{display:inline-block;line-height:0;cursor:zoom-in;}\n.img-zoom img{cursor:zoom-in;}\n.img-lightbox{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,0.85);padding:24px;box-sizing:border-box;}\n.img-lightbox.is-open{display:flex;}\n.img-lightbox__image{display:block;max-width:95vw;max-height:90vh;width:auto;height:auto;object-fit:contain;cursor:zoom-out;box-shadow:0 8px 32px rgba(0,0,0,0.4);}\n.img-lightbox__close{position:absolute;top:16px;right:16px;width:44px;height:44px;border:none;border-radius:50%;background:rgba(255,255,255,0.15);color:#ffffff;font-size:28px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;}\n.img-lightbox__close:hover,.img-lightbox__close:focus-visible{background:rgba(255,255,255,0.3);}\n@media (max-width:480px){.img-lightbox__close{top:8px;right:8px;width:36px;height:36px;font-size:22px;}}\n<\/style>\n<div class=\"img-lightbox\" id=\"img-lightbox\" role=\"dialog\" aria-modal=\"true\" aria-label=\"\u753b\u50cf\u306e\u62e1\u5927\u8868\u793a\" aria-hidden=\"true\">\n  <button type=\"button\" class=\"img-lightbox__close\" aria-label=\"\u62e1\u5927\u8868\u793a\u3092\u9589\u3058\u308b\">\u00d7<\/button>\n  <img decoding=\"async\" class=\"img-lightbox__image\" src=\"\" alt=\"\">\n<\/div>\n<script>\n(function () {\n  if (window.__imgLightboxInitialized) {\n    return;\n  }\n  window.__imgLightboxInitialized = true;\n\n  document.addEventListener('DOMContentLoaded', function () {\n    var lightbox = document.getElementById('img-lightbox');\n    if (!lightbox) {\n      return;\n    }\n    var lightboxImage = lightbox.querySelector('.img-lightbox__image');\n    var closeButton = lightbox.querySelector('.img-lightbox__close');\n    var triggers = document.querySelectorAll('[data-img-lightbox]');\n    var lastFocusedTrigger = null;\n\n    function openLightbox(trigger) {\n      var img = trigger.querySelector('img');\n      if (!img) {\n        return;\n      }\n      lastFocusedTrigger = trigger;\n      lightboxImage.src = img.src;\n      lightboxImage.alt = img.alt || '';\n      lightbox.classList.add('is-open');\n      lightbox.setAttribute('aria-hidden', 'false');\n      document.body.style.overflow = 'hidden';\n      closeButton.focus();\n    }\n\n    function closeLightbox() {\n      if (!lightbox.classList.contains('is-open')) {\n        return;\n      }\n      lightbox.classList.remove('is-open');\n      lightbox.setAttribute('aria-hidden', 'true');\n      lightboxImage.src = '';\n      document.body.style.overflow = '';\n      if (lastFocusedTrigger) {\n        lastFocusedTrigger.focus();\n      }\n    }\n\n    triggers.forEach(function (trigger) {\n      trigger.addEventListener('click', function (event) {\n        event.preventDefault();\n        openLightbox(trigger);\n      });\n    });\n\n    closeButton.addEventListener('click', closeLightbox);\n    lightboxImage.addEventListener('click', closeLightbox);\n\n    lightbox.addEventListener('click', function (event) {\n      if (event.target === lightbox) {\n        closeLightbox();\n      }\n    });\n\n    document.addEventListener('keydown', function (event) {\n      if (event.key === 'Escape') {\n        closeLightbox();\n      }\n    });\n  });\n})();\n<\/script>\n<figure style=\"margin:16px 0;text-align:center;\">\n  <a href=\"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/nginx-master-worker.webp\" class=\"img-zoom\" data-img-lightbox aria-label=\"\u753b\u50cf\u3092\u62e1\u5927\u8868\u793a:Nginx\u306e\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u3068\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u306e\u95a2\u4fc2\u56f3\">\n  <img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/nginx-master-worker.webp\" class=\"post-img\" alt=\"Nginx\u306e\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u3068\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u306e\u95a2\u4fc2\u56f3\" loading=\"lazy\">\n  <\/a>\n  <figcaption style=\"font-size:13px;color:#666;text-align:center;margin-top:8px;\">\u30de\u30b9\u30bf\u30fc\u30d7\u30ed\u30bb\u30b9\u304c\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u3092\u7ba1\u7406\u3057\u3001\u5404\u30ef\u30fc\u30ab\u30fc\u304c\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u3067\u591a\u6570\u306e\u63a5\u7d9a\u3092\u51e6\u7406\u3059\u308b<\/figcaption>\n<\/figure>\n\n\n\n<h3 id=\"outline__1_4\" class=\"wp-block-heading\">Nginx\u3067\u3067\u304d\u308b\u3053\u3068<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306f\u3001\u5358\u7d14\u306bHTML\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u4fe1\u3059\u308b\u3060\u3051\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br>\u4ee3\u8868\u7684\u306a\u7528\u9014\u3068\u3057\u3066\u3001\u6b21\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Web\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066\u9759\u7684\u30d5\u30a1\u30a4\u30eb\uff08HTML\u30fbCSS\u30fb\u753b\u50cf\u306a\u3069\uff09\u3092\u914d\u4fe1\u3059\u308b<\/li>\n\n\n\n<li>\u8907\u6570\u306eWeb\u30b5\u30a4\u30c8\u3092\u4e00\u3064\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u904b\u7528\u3059\u308b\uff08\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\uff09<\/li>\n\n\n\n<li>\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b5\u30fc\u30d0\u30fc\u3078\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u8ee2\u9001\u3059\u308b<\/li>\n\n\n\n<li>SSL\/TLS\u901a\u4fe1\u3092\u51e6\u7406\u3057\u3001Web\u30b5\u30a4\u30c8\u3092HTTPS\u306b\u5bfe\u5fdc\u3055\u305b\u308b<\/li>\n\n\n\n<li>\u8907\u6570\u306e\u30b5\u30fc\u30d0\u30fc\u3078\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u632f\u308a\u5206\u3051\u3066\u8ca0\u8377\u5206\u6563\uff08\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0\uff09\u3092\u884c\u3046<\/li>\n\n\n\n<li>\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u5229\u7528\u3057\u3066\u30b3\u30f3\u30c6\u30f3\u30c4\u914d\u4fe1\u3092\u52b9\u7387\u5316\u3059\u308b<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u3088\u3046\u306b\u3001Nginx\u306f<span class=\"c-user01\" style=\"font-weight:bold;\">\u300cWeb\u30da\u30fc\u30b8\u3092\u914d\u4fe1\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u300d\u3068\u300c\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u524d\u6bb5\u306b\u914d\u7f6e\u3059\u308b\u30b5\u30fc\u30d0\u30fc\u300d\u306e\u4e21\u65b9\u3068\u3057\u3066\u5229\u7528\u3067\u304d\u308b<\/span>\u306e\u304c\u5927\u304d\u306a\u7279\u5fb4\u3067\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">Nginx\u3068Apache\u306e\u9055\u3044<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u3068\u6bd4\u8f03\u3055\u308c\u308b\u3053\u3068\u304c\u591a\u3044Web\u30b5\u30fc\u30d0\u30fc\u306b\u300cApache HTTP Server\uff08\u4ee5\u4e0b\u3001Apache\uff09\u300d\u304c\u3042\u308a\u307e\u3059\u3002<br>Apache\u3082\u9577\u3044\u6b74\u53f2\u3092\u6301\u3064\u4ee3\u8868\u7684\u306aWeb\u30b5\u30fc\u30d0\u30fc\u3067\u3042\u308a\u3001\u73fe\u5728\u3067\u3082\u3055\u307e\u3056\u307e\u306aWeb\u30b5\u30a4\u30c8\u3084\u30b7\u30b9\u30c6\u30e0\u3067\u5229\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e21\u8005\u306e\u9055\u3044\u306f\u3001\u3088\u304f\u300cApache\u306f\u30d7\u30ed\u30bb\u30b9\u30fb\u30b9\u30ec\u30c3\u30c9\u65b9\u5f0f\u3001Nginx\u306f\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u65b9\u5f0f\u300d\u3068\u8aac\u660e\u3055\u308c\u307e\u3059\u3002<br>\u305f\u3060\u3057\u3001\u73fe\u5728\u306eApache\u306f<a href=\"https:\/\/httpd.apache.org\/docs\/2.4\/mpm.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">MPM\uff08\u30de\u30eb\u30c1\u30d7\u30ed\u30bb\u30c3\u30b7\u30f3\u30b0\u30e2\u30b8\u30e5\u30fc\u30eb\uff09<\/a>\u306b\u3088\u3063\u3066\u51e6\u7406\u65b9\u5f0f\u3092\u9078\u3079\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304a\u308a\u3001prefork\u30fbworker\u30fbevent\u3068\u3044\u3063\u305f\u65b9\u5f0f\u304c\u3042\u308a\u307e\u3059\u3002<br>Linux\u306a\u3069\u306e\u73fe\u5728\u306e\u4e3b\u8981\u306a\u74b0\u5883\u3067\u306fevent MPM\u304c\u6a19\u6e96\u306b\u306a\u308b\u3053\u3068\u304c\u591a\u304f\u3001Apache\u3067\u3082\u30a4\u30d9\u30f3\u30c8\u3092\u6d3b\u7528\u3057\u305f\u63a5\u7d9a\u7ba1\u7406\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u305d\u306e\u305f\u3081\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u300c\u51e6\u7406\u65b9\u5f0f\u304c\u9055\u3046\u304b\u3089Nginx\u306e\u65b9\u304c\u5fc5\u305a\u901f\u3044\u300d\u3068\u306f\u8a00\u3044\u5207\u308c\u307e\u305b\u3093<\/span>\u3002<br>\u4e21\u8005\u306e\u9055\u3044\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u8a2d\u8a08\u3084\u8a2d\u5b9a\u65b9\u6cd5\u3001\u5f97\u610f\u306a\u4f7f\u308f\u308c\u65b9\u306e\u9055\u3044\u3068\u3057\u3066\u6349\u3048\u308b\u3068\u7406\u89e3\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>\u6bd4\u8f03\u9805\u76ee<\/th><th>Nginx<\/th><th>Apache<\/th><\/tr><tr><td><strong>\u51e6\u7406\u65b9\u5f0f<\/strong><\/td><td>\u5c11\u6570\u306e\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u304c\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u3067\u591a\u6570\u306e\u63a5\u7d9a\u3092\u51e6\u7406\u3059\u308b<\/td><td>MPM\u306b\u3088\u308a\u51e6\u7406\u65b9\u5f0f\u3092\u9078\u629e\u3059\u308b\uff08prefork\uff0fworker\uff0fevent\uff09<\/td><\/tr><tr><td><strong>\u8a2d\u5b9a\u65b9\u6cd5<\/strong><\/td><td>\u672c\u4f53\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u96c6\u7d04\u3057\u3066\u7ba1\u7406\u3059\u308b<\/td><td>\u672c\u4f53\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u52a0\u3048\u3001.htaccess\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5358\u4f4d\u306e\u8a2d\u5b9a\u3082\u3067\u304d\u308b<\/td><\/tr><tr><td><strong>.htaccess<\/strong><\/td><td>\u76f8\u5f53\u3059\u308b\u4ed5\u7d44\u307f\u306f\u306a\u3044<\/td><td>\u5229\u7528\u3067\u304d\u308b\uff08\u8a2d\u5b9a\u3067\u8a31\u53ef\u3057\u305f\u5834\u5408\uff09<\/td><\/tr><tr><td><strong>\u52d5\u7684\u30b3\u30f3\u30c6\u30f3\u30c4\uff08PHP\u306a\u3069\uff09<\/strong><\/td><td>PHP-FPM\u306a\u3069\u5916\u90e8\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3078\u51e6\u7406\u3092\u6e21\u3059<\/td><td>\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u51e6\u7406\u3059\u308b\u69cb\u6210\u3084\u3001PHP-FPM\u3068\u9023\u643a\u3059\u308b\u69cb\u6210\u304c\u3042\u308b<\/td><\/tr><tr><td><strong>\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7<\/strong><\/td><td>\u4e3b\u8981\u306a\u7528\u9014\u306e\u4e00\u3064\u3068\u3057\u3066\u5e83\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u308b<\/td><td>mod_proxy\u306a\u3069\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u5bfe\u5fdc\u3067\u304d\u308b<\/td><\/tr><tr><td><strong>\u3088\u304f\u4f7f\u308f\u308c\u308b\u5834\u9762<\/strong><\/td><td>\u30a2\u30af\u30bb\u30b9\u306e\u591a\u3044\u30b5\u30a4\u30c8\u306e\u914d\u4fe1\u3084\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u524d\u6bb5\u306b\u7f6e\u304f\u69cb\u6210<\/td><td>.htaccess\u3092\u4f7f\u3046\u30ec\u30f3\u30bf\u30eb\u30b5\u30fc\u30d0\u30fc\u74b0\u5883\u3084\u3001\u65e2\u5b58\u306eApache\u8cc7\u7523\u3092\u6d3b\u304b\u3059\u69cb\u6210<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u7279\u306b\u521d\u5fc3\u8005\u304c\u610f\u8b58\u3057\u3066\u304a\u304d\u305f\u3044\u306e\u304c\u3001\u8a2d\u5b9a\u65b9\u6cd5\u306e\u9055\u3044\u3067\u3059\u3002<br>Apache\u3067\u306f\u300c.htaccess\u300d\u3068\u3044\u3046\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5229\u7528\u3057\u3066\u3001Web\u30b5\u30a4\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5358\u4f4d\u3067\u8a2d\u5b9a\u3092\u5909\u66f4\u3067\u304d\u308b\u4ed5\u7d44\u307f\u304c\u3042\u308a\u307e\u3059\u3002<br>\u4e00\u65b9\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">Nginx\u306b\u306fApache\u306e.htaccess\u306b\u76f8\u5f53\u3059\u308b\u4ed5\u7d44\u307f\u304c\u306a\u304f\u3001Nginx\u672c\u4f53\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066\u8a2d\u5b9a\u3092\u53cd\u6620\u3057\u307e\u3059<\/span>\u3002<br>\u305d\u306e\u305f\u3081\u3001Nginx\u3067\u306f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u69cb\u9020\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u306a\u304a\u3001<a href=\"https:\/\/httpd.apache.org\/docs\/2.4\/howto\/htaccess.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Apache\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e.htaccess\u306e\u89e3\u8aac<\/a>\u3067\u3082\u3001\u672c\u4f53\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3067\u304d\u308b\u5834\u5408\u306f\u305d\u3061\u3089\u306b\u8a2d\u5b9a\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u969b\u306e\u73fe\u5834\u3067\u306f\u3001Nginx\u3092\u524d\u6bb5\u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u914d\u7f6e\u3057\u3001\u305d\u306e\u5f8c\u308d\u3067Apache\u3092\u52d5\u304b\u3059\u3088\u3046\u306b\u3001\u4e21\u8005\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u69cb\u6210\u3082\u3042\u308a\u307e\u3059\u3002<br>\u3069\u3061\u3089\u304b\u304c\u4e00\u65b9\u7684\u306b\u512a\u308c\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u306a\u304f\u3001\u65e2\u5b58\u30b7\u30b9\u30c6\u30e0\u3068\u306e\u4e92\u63db\u6027\u3084\u5fc5\u8981\u306a\u6a5f\u80fd\u3001\u904b\u7528\u65b9\u6cd5\u306a\u3069\u306b\u3088\u3063\u3066\u9069\u3057\u305fWeb\u30b5\u30fc\u30d0\u30fc\u306f\u7570\u306a\u308a\u307e\u3059\u3002<br>\u305d\u308c\u305e\u308c\u306e\u4ed5\u7d44\u307f\u3084\u5f97\u610f\u5206\u91ce\u3092\u7406\u89e3\u3057\u305f\u4e0a\u3067\u3001\u5229\u7528\u76ee\u7684\u3084\u74b0\u5883\u306b\u5408\u308f\u305b\u3066\u9078\u629e\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div class=\"techmania-recirc\">\n<style>\n.techmania-recirc{margin:24px 0;font-family:-apple-system,\"Hiragino Kaku Gothic ProN\",\"Yu Gothic\",sans-serif;}\n.techmania-recirc__label{font-size:14px;color:#333;margin-bottom:8px;font-weight:bold;}\n.techmania-recirc__box{display:flex;align-items:center;gap:16px;border:1px solid #ddd;border-radius:4px;padding:12px 16px;text-decoration:none;transition:background .2s;}\n.techmania-recirc__box:hover{background:#f7f9fc;}\n.techmania-recirc__thumb{width:96px;aspect-ratio:6\/4;object-fit:cover;border-radius:4px;flex-shrink:0;}\n.techmania-recirc__title{color:#2952cc;font-size:15px;line-height:1.6;flex:1;}\n.techmania-recirc__arrow{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#2952cc;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;}\n<\/style>\n<div class=\"techmania-recirc__label\">\u25bc\u3053\u3061\u3089\u3082\u30c1\u30a7\u30c3\u30af\u25bc<\/div>\n<a class=\"techmania-recirc__box\" href=\"https:\/\/techmania.jp\/blog\/server0005\/\">\n  <img decoding=\"async\" class=\"techmania-recirc__thumb\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/20220106\/apache-8cc2d216c94f1948241ec6c891fffc2f48a9c34d8fab2be563c11ab0373c961c.jpeg\" alt=\"\u30102024\u6700\u65b0\u3011Apache\u3068\u306f\uff5c\u4f55\u304c\u3067\u304d\u308b\uff1f\u30e1\u30ea\u30c3\u30c8\u3092\u6bd4\u8f03\u3057\u3066\u89e3\u8aac\" loading=\"lazy\">\n  <span class=\"techmania-recirc__title\">Apache\u3068\u306f\uff1f\u3067\u304d\u308b\u3053\u3068\u30fb\u30e1\u30ea\u30c3\u30c8\u30fb\u4f7f\u3044\u65b9\u3092\u89e3\u8aac\n<\/span>\n  <span class=\"techmania-recirc__arrow\">\u25b6<\/span>\n<\/a>\n<\/div>\n\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">\u3010\u5b9f\u8df5\u3011Ubuntu\u306bNginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u52d5\u304b\u3057\u3066\u307f\u308b<\/h2>\n\n\n\n<h3 id=\"outline__3_1\" class=\"wp-block-heading\">\u4e8b\u524d\u6e96\u5099\uff1aUbuntu\u74b0\u5883\u306e\u7528\u610f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306fLinux\u3001Windows\u3001macOS\u306a\u3069\u3055\u307e\u3056\u307e\u306a\u74b0\u5883\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306f\u30b5\u30fc\u30d0\u30fc\u7528\u9014\u3067\u3088\u304f\u5229\u7528\u3055\u308c\u308bUbuntu\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ubuntu\u306f\u3001Linux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306e\u4e00\u3064\u3067\u3059\u3002<br>\u5b9f\u969b\u306e\u30b5\u30fc\u30d0\u30fc\u3092\u7528\u610f\u3059\u308b\u65b9\u6cd5\u306e\u307b\u304b\u3001VirtualBox\u306a\u3069\u306e\u4eee\u60f3\u74b0\u5883\u3084\u3001\u30af\u30e9\u30a6\u30c9\u4e0a\u306eUbuntu\u74b0\u5883\u3092\u5229\u7528\u3059\u308b\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306fUbuntu\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3067\u304d\u308b\u74b0\u5883\u3092\u7528\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>\u307e\u305f\u3001Nginx\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3084\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6\u306b\u306f\u7ba1\u7406\u8005\u6a29\u9650\u304c\u5fc5\u8981\u306b\u306a\u308b\u305f\u3081\u3001sudo\u30b3\u30de\u30f3\u30c9\u3092\u5229\u7528\u3067\u304d\u308b\u30e6\u30fc\u30b6\u30fc\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"techmania-recirc\">\n<style>\n.techmania-recirc{margin:24px 0;font-family:-apple-system,\"Hiragino Kaku Gothic ProN\",\"Yu Gothic\",sans-serif;}\n.techmania-recirc__label{font-size:14px;color:#333;margin-bottom:8px;font-weight:bold;}\n.techmania-recirc__box{display:flex;align-items:center;gap:16px;border:1px solid #ddd;border-radius:4px;padding:12px 16px;text-decoration:none;transition:background .2s;}\n.techmania-recirc__box:hover{background:#f7f9fc;}\n.techmania-recirc__thumb{width:96px;aspect-ratio:6\/4;object-fit:cover;border-radius:4px;flex-shrink:0;}\n.techmania-recirc__title{color:#2952cc;font-size:15px;line-height:1.6;flex:1;}\n.techmania-recirc__arrow{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#2952cc;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;}\n<\/style>\n<div class=\"techmania-recirc__label\">\u25bc\u3053\u3061\u3089\u3082\u30c1\u30a7\u30c3\u30af\u25bc<\/div>\n<a class=\"techmania-recirc__box\" href=\"https:\/\/techmania.jp\/blog\/linux0002\/\">\n  <img decoding=\"async\" class=\"techmania-recirc__thumb\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/20211018\/iStock-1304450711.jpg\" alt=\"Ubuntu\u3068\u306f\uff1f\u521d\u5fc3\u8005\u5411\u3051\u306b\u7279\u5fb4\u30fbLinux\u3068\u306e\u9055\u3044\u30fb\u3067\u304d\u308b\u3053\u3068\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\" loading=\"lazy\">\n  <span class=\"techmania-recirc__title\">Ubuntu\u3068\u306f\uff1f\u521d\u5fc3\u8005\u5411\u3051\u306b\u7279\u5fb4\u30fbLinux\u3068\u306e\u9055\u3044\u30fb\u3067\u304d\u308b\u3053\u3068\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac<\/span>\n  <span class=\"techmania-recirc__arrow\">\u25b6<\/span>\n<\/a>\n<\/div>\n\n\n\n<h3 id=\"outline__3_2\" class=\"wp-block-heading\">Nginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ubuntu\u3067\u306f\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\u306eAPT\u3092\u5229\u7528\u3057\u3066Nginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<br>\u307e\u305a\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u60c5\u5831\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo apt update<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">apt<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">update<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u7d9a\u3044\u3066\u3001Nginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo apt install nginx<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">apt<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">install<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u78ba\u8a8d\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u306f\u3001\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3066\u300cY\u300d\u3092\u5165\u529b\u3057\u307e\u3059\u3002<br>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067Nginx\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>nginx -v<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">nginx<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">-v<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cnginx version: nginx\/\u301c\u300d\u306e\u3088\u3046\u306b<span class=\"c-user01\" style=\"font-weight:bold;\">\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u3001Nginx\u306f\u6b63\u5e38\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059<\/span>\u3002<br>\u8868\u793a\u3055\u308c\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001Ubuntu\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u624b\u9806\u306f\u3001<a href=\"https:\/\/ubuntu.com\/server\/docs\/how-to\/web-services\/install-nginx\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Ubuntu Server\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306eNginx\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806<\/a>\u3067\u3082\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__3_3\" class=\"wp-block-heading\">Nginx\u306e\u8d77\u52d5\u72b6\u614b\u3092\u78ba\u8a8d\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Ubuntu\u3067\u306f\u3001Nginx\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u767b\u9332\u3055\u308c\u3001\u901a\u5e38\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5f8c\u306b\u81ea\u52d5\u7684\u306b\u8d77\u52d5\u3057\u307e\u3059\u3002<br>\u73fe\u5728\u306e\u8d77\u52d5\u72b6\u614b\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo systemctl status nginx<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">status<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><span class=\"c-user01\" style=\"font-weight:bold;\">\u300cactive (running)\u300d\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u308c\u3070\u3001Nginx\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u72b6\u614b<\/span>\u3067\u3059\u3002<br>\u8868\u793a\u3092\u7d42\u4e86\u3059\u308b\u3068\u304d\u306f\u300cq\u300d\u30ad\u30fc\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u304c\u8d77\u52d5\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u8d77\u52d5\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo systemctl start nginx<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">start<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305f\u3001\u30b5\u30fc\u30d0\u30fc\u3092\u518d\u8d77\u52d5\u3057\u305f\u3068\u304d\u306bNginx\u3082\u81ea\u52d5\u3067\u8d77\u52d5\u3059\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u81ea\u52d5\u8d77\u52d5\u3092\u6709\u52b9\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo systemctl enable nginx<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">enable<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 id=\"outline__3_4\" class=\"wp-block-heading\">\u30d6\u30e9\u30a6\u30b6\u3067\u521d\u671f\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u304c\u8d77\u52d5\u3057\u305f\u3089\u3001Web\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>Ubuntu\u3092\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u52d5\u304b\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u300clocalhost\u300d\u3001\u30b5\u30fc\u30d0\u30fc\u3084\u30af\u30e9\u30a6\u30c9\u4e0a\u3067\u52d5\u304b\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u300c\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\u300d\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">\u30a2\u30af\u30bb\u30b9URL<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>http:\/\/localhost\/\nhttp:\/\/\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\/<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #EEFFFF\">http:\/\/localhost\/<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">http:\/\/\u30b5\u30fc\u30d0\u30fc\u306eIP\u30a2\u30c9\u30ec\u30b9\/<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300cWelcome to nginx!\u300d\u3068\u66f8\u304b\u308c\u305f<span class=\"c-user01\" style=\"font-weight:bold;\">Nginx\u306e\u521d\u671f\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u3001Nginx\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u307e\u3059<\/span>\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d6\u30e9\u30a6\u30b6\u3092\u4f7f\u3048\u306a\u3044\u30b5\u30fc\u30d0\u30fc\u74b0\u5883\u306e\u5834\u5408\u306f\u3001curl\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<br>\u5b9f\u884c\u7d50\u679c\u306b\u300cWelcome to nginx!\u300d\u3092\u542b\u3080HTML\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>curl http:\/\/localhost\/<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">curl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">http:\/\/localhost\/<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b5\u30fc\u30d0\u30fc\u5185\u3067\u306f\u8868\u793a\u3067\u304d\u308b\u306e\u306b\u5916\u90e8\u306ePC\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306780\u756a\u30dd\u30fc\u30c8\u304c\u9589\u3058\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<br>Ubuntu\u306e\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\uff08ufw\uff09\u3092\u6709\u52b9\u306b\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067HTTP\u901a\u4fe1\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002<br>\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d0\u30fc\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30b5\u30fc\u30d3\u30b9\u5074\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30b0\u30eb\u30fc\u30d7\u306a\u3069\u306e\u8a2d\u5b9a\u3082\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo ufw allow 'Nginx HTTP'<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ufw<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">allow<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #89DDFF\">&#39;<\/span><span style=\"color: #C3E88D\">Nginx HTTP<\/span><span style=\"color: #89DDFF\">&#39;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 id=\"outline__3_5\" class=\"wp-block-heading\">Nginx\u306e\u8d77\u52d5\u30fb\u505c\u6b62\u30fb\u518d\u8d77\u52d5\u306b\u4f7f\u3046\u30b3\u30de\u30f3\u30c9<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u3092\u64cd\u4f5c\u3059\u308b\u969b\u306b\u3088\u304f\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<br>\u5fc5\u8981\u306a\u30b3\u30de\u30f3\u30c9\u306e\u884c\u3060\u3051\u3092\u30b3\u30d4\u30fc\u3057\u3066\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u8d77\u52d5\nsudo systemctl start nginx\n\n# \u505c\u6b62\nsudo systemctl stop nginx\n\n# \u518d\u8d77\u52d5\uff08Nginx\u3092\u505c\u6b62\u3057\u3066\u304b\u3089\u8d77\u52d5\u3057\u76f4\u3059\uff09\nsudo systemctl restart nginx\n\n# \u8a2d\u5b9a\u306e\u518d\u8aad\u307f\u8fbc\u307f\uff08Nginx\u3092\u6b62\u3081\u305a\u306b\u8a2d\u5b9a\u3092\u53cd\u6620\u3059\u308b\uff09\nsudo systemctl reload nginx\n\n# \u72b6\u614b\u306e\u78ba\u8a8d\nsudo systemctl status nginx<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #546E7A; font-style: italic\"># \u8d77\u52d5<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">start<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #546E7A; font-style: italic\"># \u505c\u6b62<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">stop<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #546E7A; font-style: italic\"># \u518d\u8d77\u52d5\uff08Nginx\u3092\u505c\u6b62\u3057\u3066\u304b\u3089\u8d77\u52d5\u3057\u76f4\u3059\uff09<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">restart<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #546E7A; font-style: italic\"># \u8a2d\u5b9a\u306e\u518d\u8aad\u307f\u8fbc\u307f\uff08Nginx\u3092\u6b62\u3081\u305a\u306b\u8a2d\u5b9a\u3092\u53cd\u6620\u3059\u308b\uff09<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">reload<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #546E7A; font-style: italic\"># \u72b6\u614b\u306e\u78ba\u8a8d<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">status<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">restart\u306fNginx\u3092\u4e00\u5ea6\u505c\u6b62\u3059\u308b\u305f\u3081\u3001\u305d\u306e\u9593\u306fWeb\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002<br><span class=\"c-user01\" style=\"font-weight:bold;\">\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u305f\u3060\u3051\u3067\u3042\u308c\u3070\u3001Nginx\u3092\u6b62\u3081\u305a\u306b\u8a2d\u5b9a\u3092\u53cd\u6620\u3067\u304d\u308breload\u3092\u4f7f\u3046<\/span>\u306e\u304c\u57fa\u672c\u3067\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__3_6\" class=\"wp-block-heading\">\u81ea\u5206\u3067\u4f5c\u6210\u3057\u305f\u9759\u7684\u30da\u30fc\u30b8\u3092\u516c\u958b\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306e\u521d\u671f\u30da\u30fc\u30b8\u304c\u8868\u793a\u3067\u304d\u305f\u3089\u3001\u4eca\u5ea6\u306f\u81ea\u5206\u3067\u4f5c\u6210\u3057\u305fHTML\u30d5\u30a1\u30a4\u30eb\u3092\u8868\u793a\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>Ubuntu\u306eNginx\u3067\u306f\u3001\u6a19\u6e96\u8a2d\u5b9a\u306e\u5834\u5408\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">Web\u30da\u30fc\u30b8\u306e\u30d5\u30a1\u30a4\u30eb\u306f\/var\/www\/html\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u914d\u7f6e<\/span>\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5148\u307b\u3069\u8868\u793a\u3055\u308c\u305f\u521d\u671f\u30da\u30fc\u30b8\u306f\u3001\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u300cindex.nginx-debian.html\u300d\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<br>Ubuntu\u306e\u6a19\u6e96\u8a2d\u5b9a\u3067\u306f\u3001\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u300cindex.html\u300d\u304c\u3042\u308c\u3070\u305d\u3061\u3089\u304c\u512a\u5148\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u305f\u3081\u3001\u4eca\u56de\u306findex.html\u3092\u65b0\u3057\u304f\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/var\/www\/html\u306f\u7ba1\u7406\u8005\u6a29\u9650\u304c\u5fc5\u8981\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u305f\u3081\u3001sudo\u3092\u4ed8\u3051\u3066\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\uff08nano\uff09\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/var\/www\/html\/index.html<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nano<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">\/var\/www\/html\/index.html<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a1\u30a4\u30eb\u306b\u6b21\u306e\u3088\u3046\u306aHTML\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">HTML<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;!DOCTYPE html>\n&lt;html lang=\"ja\">\n&lt;head>\n    &lt;meta charset=\"UTF-8\">\n    &lt;title>Nginx Sample&lt;\/title>\n&lt;\/head>\n&lt;body>\n    &lt;h1>Nginx\u3067\u516c\u958b\u3057\u305f\u30da\u30fc\u30b8&lt;\/h1>\n    &lt;p>\u3053\u306e\u30da\u30fc\u30b8\u306fNginx\u304b\u3089\u914d\u4fe1\u3057\u3066\u3044\u307e\u3059\u3002&lt;\/p>\n&lt;\/body>\n&lt;\/html><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #89DDFF\">&lt;!<\/span><span style=\"color: #F07178\">DOCTYPE<\/span><span style=\"color: #89DDFF\"> <\/span><span style=\"color: #C792EA\">html<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">html<\/span><span style=\"color: #89DDFF\"> <\/span><span style=\"color: #C792EA\">lang<\/span><span style=\"color: #89DDFF\">=<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">ja<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">head<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">    <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">meta<\/span><span style=\"color: #89DDFF\"> <\/span><span style=\"color: #C792EA\">charset<\/span><span style=\"color: #89DDFF\">=<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">UTF-8<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">    <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">title<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #EEFFFF\">Nginx Sample<\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">title<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">head<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">body<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">    <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">h1<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #EEFFFF\">Nginx\u3067\u516c\u958b\u3057\u305f\u30da\u30fc\u30b8<\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">h1<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">    <\/span><span style=\"color: #89DDFF\">&lt;<\/span><span style=\"color: #F07178\">p<\/span><span style=\"color: #89DDFF\">&gt;<\/span><span style=\"color: #EEFFFF\">\u3053\u306e\u30da\u30fc\u30b8\u306fNginx\u304b\u3089\u914d\u4fe1\u3057\u3066\u3044\u307e\u3059\u3002<\/span><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">p<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">body<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #89DDFF\">&lt;\/<\/span><span style=\"color: #F07178\">html<\/span><span style=\"color: #89DDFF\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u5165\u529b\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u300cCtrl + O\u300d\u2192\u300cEnter\u300d\u3067\u4fdd\u5b58\u3057\u3001\u300cCtrl + X\u300d\u3067nano\u3092\u7d42\u4e86\u3057\u307e\u3059\u3002<br>\u305d\u306e\u5f8c\u3001\u30d6\u30e9\u30a6\u30b6\u3067\u5148\u307b\u3069\u306eURL\uff08http:\/\/localhost\/ \u306a\u3069\uff09\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306e\u521d\u671f\u30da\u30fc\u30b8\u3067\u306f\u306a\u304f\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u4f5c\u6210\u3057\u305fHTML\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6210\u529f<\/span>\u3067\u3059\u3002<br>\u8868\u793a\u304c\u5207\u308a\u66ff\u308f\u3089\u306a\u3044\u5834\u5408\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u6b8b\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3001\u5f37\u5236\u518d\u8aad\u307f\u8fbc\u307f\u3092\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h2 id=\"outline__4\" class=\"wp-block-heading\">Nginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7406\u89e3\u3059\u308b<\/h2>\n\n\n\n<h3 id=\"outline__4_1\" class=\"wp-block-heading\">\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240\u3068\u69cb\u6210<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306e\u30e1\u30a4\u30f3\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306f\u3001Ubuntu\u306e\u5834\u5408\u306f\u6b21\u306e\u5834\u6240\u306b\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>\/etc\/nginx\/nginx.conf<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #EEFFFF\">\/etc\/nginx\/nginx.conf<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">nginx.conf\u306f\u3001Nginx\u5168\u4f53\u306e\u57fa\u672c\u8a2d\u5b9a\u3092\u8a18\u8ff0\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<br>\u305f\u3060\u3057\u3001Ubuntu\u3067\u306f\u500b\u3005\u306eWeb\u30b5\u30a4\u30c8\u306e\u8a2d\u5b9a\u3092nginx.conf\u306b\u76f4\u63a5\u66f8\u304f\u306e\u3067\u306f\u306a\u304f\u3001\u5225\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5206\u3051\u3066\u7ba1\u7406\u3059\u308b\u306e\u304c\u4e00\u822c\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/etc\/nginx\/nginx.conf\uff1aNginx\u5168\u4f53\u306e\u57fa\u672c\u8a2d\u5b9a<\/li>\n\n\n\n<li>\/etc\/nginx\/sites-available\/\uff1a\u30b5\u30a4\u30c8\u3054\u3068\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/li>\n\n\n\n<li>\/etc\/nginx\/sites-enabled\/\uff1a\u6709\u52b9\u306b\u3059\u308b\u30b5\u30a4\u30c8\u306e\u8a2d\u5b9a\uff08sites-available\u306e\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\uff09\u3092\u7f6e\u304f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/li>\n\n\n\n<li>\/etc\/nginx\/conf.d\/\uff1a\u8ffd\u52a0\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">nginx.conf\u306e\u4e2d\u306b\u306f\u3001sites-enabled\u3084conf.d\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u8a2d\u5b9a\uff08include\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\uff09\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<br>\u5148\u307b\u3069\u521d\u671f\u30da\u30fc\u30b8\u3084\u81ea\u4f5c\u306eHTML\u3092\u8868\u793a\u3057\u3066\u3044\u305f\u306e\u3082\u3001\u300c\/etc\/nginx\/sites-available\/default\u300d\u306b\u66f8\u304b\u308c\u305f\u8a2d\u5b9a\u306b\u3088\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3064\u307e\u308aUbuntu\u3067\u306f\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u30b5\u30a4\u30c8\u306e\u8a2d\u5b9a\u3092sites-available\u306b\u4f5c\u6210\u3057\u3001sites-enabled\u306b\u30ea\u30f3\u30af\u3092\u4f5c\u3063\u3066\u6709\u52b9\u5316\u3059\u308b<\/span>\u3068\u3044\u3046\u6d41\u308c\u3067\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br>\u3053\u306e\u69cb\u6210\u306f<a href=\"https:\/\/ubuntu.com\/server\/docs\/how-to\/web-services\/configure-nginx\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Ubuntu Server\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306eNginx\u8a2d\u5b9a\u30ac\u30a4\u30c9<\/a>\u3067\u3082\u7d39\u4ecb\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u306a\u304a\u3001nginx.org\u306e\u516c\u5f0f\u30d1\u30c3\u30b1\u30fc\u30b8\u306a\u3069\u3001\u74b0\u5883\u306b\u3088\u3063\u3066\u306fsites-available\uff0fsites-enabled\u304c\u306a\u304f\u3001conf.d\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304f\u69cb\u6210\u306b\u306a\u3063\u3066\u3044\u308b\u5834\u5408\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__4_2\" class=\"wp-block-heading\">\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u30fb\u30d6\u30ed\u30c3\u30af\u30fb\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u95a2\u4fc2<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306e\u8a2d\u5b9a\u306f\u3001\u300c\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u300d\u3068\u547c\u3070\u308c\u308b\u8a2d\u5b9a\u9805\u76ee\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u8a18\u8ff0\u3057\u307e\u3059\u3002<br>\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306b\u306f\u3001\u6b21\u306e2\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30b7\u30f3\u30d7\u30eb\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\uff1a\u540d\u524d\u3068\u5024\u3092\u66f8\u304d\u3001\u6700\u5f8c\u3092\u300c;\u300d\u3067\u7d42\u3048\u308b\u3082\u306e\uff08\u4f8b\uff1alisten 80;\uff09<\/li>\n\n\n\n<li>\u30d6\u30ed\u30c3\u30af\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\uff1a\u300c{ }\u300d\u3067\u56f2\u3093\u3060\u4e2d\u306b\u3001\u307b\u304b\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u8a18\u8ff0\u3067\u304d\u308b\u3082\u306e\uff08\u4f8b\uff1aserver { \u2026 }\uff09<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306f\u3001\u4e2d\u306b\u307b\u304b\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u66f8\u3051\u308b\u30d6\u30ed\u30c3\u30af\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306e\u3053\u3068\u3092\u300c\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u300d\u3068\u547c\u3093\u3067\u3044\u307e\u3059\u3002<br>\u3064\u307e\u308a\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">server { }\u306f\u300cserver\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3067\u4f5c\u308b\u30d6\u30ed\u30c3\u30af\u300d\u3067\u3042\u308a\u3001\u305d\u306e\u4e2d\u306b\u66f8\u3044\u305f\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u304c\u9069\u7528\u3055\u308c\u308b\u7bc4\u56f2\uff08\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\uff09<\/span>\u3067\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f8b\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306a\u8a2d\u5b9a\u304c\u3042\u308b\u3068\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Nginx<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>server {\n    listen 80;\n    server_name example.com;\n\n    location \/ {\n        root \/var\/www\/example;\n    }\n}<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #C792EA\">server<\/span><span style=\"color: #EEFFFF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> listen <\/span><span style=\"color: #EEFFFF\">80<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> server_name <\/span><span style=\"color: #EEFFFF\">example.com<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">    <\/span><span style=\"color: #C792EA\">location<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #FFCB6B\">\/ <\/span><span style=\"color: #EEFFFF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">       <\/span><span style=\"color: #89DDFF\"> root <\/span><span style=\"color: #EEFFFF\">\/var\/www\/example<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306f\u5165\u308c\u5b50\u69cb\u9020\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u3069\u306e\u30d6\u30ed\u30c3\u30af\u306b\u3082\u542b\u307e\u308c\u306a\u3044\u6700\u4e0a\u4f4d\u306e\u300cmain\u300d\u306e\u4e2d\u306b\u300chttp\u300d\u3001http\u306e\u4e2d\u306b\u300cserver\u300d\u3001server\u306e\u4e2d\u306b\u300clocation\u300d\u304c\u5165\u308a\u307e\u3059\u3002<br>\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3054\u3068\u306b\u8a18\u8ff0\u3067\u304d\u308b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u304c\u6c7a\u307e\u3063\u3066\u304a\u308a\u3001\u4f8b\u3048\u3070listen\u306fserver\u306e\u4e2d\u306b\u3057\u304b\u66f8\u3051\u307e\u305b\u3093\u3002<br><span class=\"c-user01\" style=\"font-weight:bold;\">\u3069\u306e\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u3001\u3069\u306e\u30d6\u30ed\u30c3\u30af\u306e\u4e2d\u306b\u66f8\u304f\u304b<\/span>\u3092\u610f\u8b58\u3059\u308b\u3068\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u304c\u8aad\u307f\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure style=\"margin:16px 0;text-align:center;\">\n  <a href=\"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/nginx-config-context.webp\" class=\"img-zoom\" data-img-lightbox aria-label=\"\u753b\u50cf\u3092\u62e1\u5927\u8868\u793a:Nginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306emain\u30fbhttp\u30fbserver\u30fblocation\u306e\u5165\u308c\u5b50\u69cb\u9020\">\n  <img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/nginx-config-context.webp\" class=\"post-img\" alt=\"Nginx\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306emain\u30fbhttp\u30fbserver\u30fblocation\u306e\u5165\u308c\u5b50\u69cb\u9020\" loading=\"lazy\">\n  <\/a>\n  <figcaption style=\"font-size:13px;color:#666;text-align:center;margin-top:8px;\">\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306f\u5165\u308c\u5b50\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3054\u3068\u306b\u66f8\u3051\u308b\u5834\u6240\u304c\u6c7a\u307e\u3063\u3066\u3044\u308b<\/figcaption>\n<\/figure>\n\n\n\n<h3 id=\"outline__4_3\" class=\"wp-block-heading\">server\u30d6\u30ed\u30c3\u30af\u3068location\u30d6\u30ed\u30c3\u30af\u306e\u5f79\u5272<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">server\u30d6\u30ed\u30c3\u30af\u306f\u30011\u3064\u306eWeb\u30b5\u30a4\u30c8\uff08Nginx\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u306f\u300c\u30d0\u30fc\u30c1\u30e3\u30eb\u30b5\u30fc\u30d0\u30fc\u300d\uff09\u306e\u8a2d\u5b9a\u3092\u307e\u3068\u3081\u308b\u30d6\u30ed\u30c3\u30af\u3067\u3059\u3002<br>server\u30d6\u30ed\u30c3\u30af\u306e\u4e2d\u3067\u3088\u304f\u4f7f\u3046\u57fa\u672c\u7684\u306a\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6<\/th><th>\u610f\u5473<\/th><th>\u8a18\u8ff0\u4f8b<\/th><\/tr><tr><td><strong>listen<\/strong><\/td><td>\u5f85\u3061\u53d7\u3051\u308b\u30dd\u30fc\u30c8\u756a\u53f7<\/td><td>listen 80;<\/td><\/tr><tr><td><strong>server_name<\/strong><\/td><td>\u3053\u306eserver\u30d6\u30ed\u30c3\u30af\u304c\u62c5\u5f53\u3059\u308b\u30c9\u30e1\u30a4\u30f3\u540d<\/td><td>server_name example.com;<\/td><\/tr><tr><td><strong>root<\/strong><\/td><td>\u516c\u958b\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea<\/td><td>root \/var\/www\/example;<\/td><\/tr><tr><td><strong>index<\/strong><\/td><td>URL\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u7701\u7565\u3055\u308c\u305f\u3068\u304d\u306b\u8fd4\u3059\u30d5\u30a1\u30a4\u30eb<\/td><td>index index.html;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">location\u30d6\u30ed\u30c3\u30af\u306f\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u30a2\u30af\u30bb\u30b9\u3055\u308c\u305fURL\u306e\u30d1\u30b9\u306b\u5fdc\u3058\u3066\u51e6\u7406\u3092\u5207\u308a\u66ff\u3048\u308b<\/span>\u305f\u3081\u306e\u30d6\u30ed\u30c3\u30af\u3067\u3059\u3002<br>\u300clocation \/\u300d\u306f\u3059\u3079\u3066\u306e\u30d1\u30b9\u306b\u4e00\u81f4\u3057\u3001\u300clocation \/images\/\u300d\u306e\u3088\u3046\u306b\u66f8\u304f\u3068\u3001\/images\/\u304b\u3089\u59cb\u307e\u308b\u30d1\u30b9\u3060\u3051\u306b\u5225\u306e\u8a2d\u5b9a\u3092\u9069\u7528\u3067\u304d\u307e\u3059\u3002<br>\u8907\u6570\u306elocation\u306b\u4e00\u81f4\u3059\u308b\u5834\u5408\u306f\u3001\u57fa\u672c\u7684\u306b\u6700\u3082\u9577\u304f\u4e00\u81f4\u3057\u305f\u3082\u306e\u304c\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u306a\u304a\u3001\u4e0a\u306e\u4f8b\u3067\u306froot\u3092location\u306e\u4e2d\u306b\u66f8\u3044\u3066\u3044\u307e\u3059\u304c\u3001server\u30d6\u30ed\u30c3\u30af\u306e\u76f4\u4e0b\u306b\u66f8\u3051\u3070\u3001\u305d\u306e\u30b5\u30fc\u30d0\u30fc\u5168\u4f53\u306b\u540c\u3058\u8a2d\u5b9a\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__4_4\" class=\"wp-block-heading\">\u8a2d\u5b9a\u5909\u66f4\u5f8c\uff1a\u69cb\u6587\u30c1\u30a7\u30c3\u30af\u3068reload<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u3001\u3044\u304d\u306a\u308a\u8a2d\u5b9a\u3092\u53cd\u6620\u3059\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u307e\u305a\u69cb\u6587\u306b\u554f\u984c\u304c\u306a\u3044\u304b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<br>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u8ff0\u30df\u30b9\u304c\u3042\u308b\u3068Nginx\u306e\u8d77\u52d5\u3084\u518d\u8d77\u52d5\u306b\u5931\u6557\u3057\u3001Web\u30b5\u30a4\u30c8\u304c\u8868\u793a\u3055\u308c\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<br>\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u3068\u304d\u306f\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u5fc5\u305a\u6b21\u306e\u9806\u756a\u3067\u4f5c\u696d<\/span>\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b<\/li>\n\n\n\n<li>sudo nginx -t \u3067\u69cb\u6587\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b<\/li>\n\n\n\n<li>\u554f\u984c\u304c\u306a\u3051\u308c\u3070 sudo systemctl reload nginx \u3067\u53cd\u6620\u3059\u308b<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u69cb\u6587\u3092\u78ba\u8a8d\u3059\u308b\u969b\u306f\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nginx -t<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">-t<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a2d\u5b9a\u5185\u5bb9\u306b\u554f\u984c\u304c\u306a\u3051\u308c\u3070\u3001\u6b21\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">\u5b9f\u884c\u7d50\u679c<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>nginx: the configuration file \/etc\/nginx\/nginx.conf syntax is ok\nnginx: configuration file \/etc\/nginx\/nginx.conf test is successful<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #EEFFFF\">nginx: the configuration file \/etc\/nginx\/nginx.conf syntax is ok<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">nginx: configuration file \/etc\/nginx\/nginx.conf test is successful<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300csyntax is ok\u300d\u300ctest is successful\u300d\u3068\u8868\u793a\u3055\u308c\u308c\u3070\u3001\u69cb\u6587\u30c1\u30a7\u30c3\u30af\u306f\u6210\u529f\u3067\u3059\u3002<br>\u554f\u984c\u304c\u3042\u308b\u5834\u5408\u306f\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u884c\u756a\u53f7\u304c\u8868\u793a\u3055\u308c\u308b\u305f\u3081\u3001\u305d\u306e\u5185\u5bb9\u3092\u78ba\u8a8d\u3057\u3066\u4fee\u6b63\u3057\u3001\u518d\u5ea6\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u69cb\u6587\u30c1\u30a7\u30c3\u30af\u304c\u6210\u529f\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u8a2d\u5b9a\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3057\u3066\u53cd\u6620\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo systemctl reload nginx<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">reload<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300csudo nginx -s reload\u300d\u3067\u3082\u540c\u3058\u3088\u3046\u306b\u8a2d\u5b9a\u3092\u518d\u8aad\u307f\u8fbc\u307f\u3067\u304d\u307e\u3059\u304c\u3001Ubuntu\u306e\u3088\u3046\u306bsystemd\u3067\u30b5\u30fc\u30d3\u30b9\u3092\u7ba1\u7406\u3057\u3066\u3044\u308b\u74b0\u5883\u3067\u306f\u3001\u8d77\u52d5\u30fb\u505c\u6b62\u3068\u540c\u3058\u304fsystemctl\u3067\u64cd\u4f5c\u3057\u305f\u307b\u3046\u304c\u7ba1\u7406\u65b9\u6cd5\u3092\u7d71\u4e00\u3067\u304d\u307e\u3059\u3002<br><a href=\"https:\/\/nginx.org\/en\/docs\/switches.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">nginx\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30aa\u30d7\u30b7\u30e7\u30f3<\/a>\u306f\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u306a\u304a\u3001reload\u6642\u306b\u65b0\u3057\u3044\u8a2d\u5b9a\u306b\u554f\u984c\u304c\u3042\u3063\u305f\u5834\u5408\u3001Nginx\u306f\u53e4\u3044\u8a2d\u5b9a\u306e\u307e\u307e\u52d5\u4f5c\u3092\u7d9a\u3051\u307e\u3059\u3002<br>\u305f\u3060\u3057\u3001\u53cd\u6620\u3057\u305f\u3064\u3082\u308a\u306e\u8a2d\u5b9a\u304c\u5b9f\u969b\u306b\u306f\u53cd\u6620\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u306b\u6c17\u4ed8\u304d\u306b\u304f\u3044\u305f\u3081\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">reload\u306e\u524d\u306bnginx -t\u3067\u78ba\u8a8d\u3059\u308b\u7fd2\u6163<\/span>\u3092\u4ed8\u3051\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<h2 id=\"outline__5\" class=\"wp-block-heading\">\u3010\u5fdc\u7528\u3011\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u30fb\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3092\u8a2d\u5b9a\u3059\u308b<\/h2>\n\n\n\n<h3 id=\"outline__5_1\" class=\"wp-block-heading\">\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u3067\u8907\u6570\u30b5\u30a4\u30c8\u3092\u904b\u7528\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u3068\u306f\u3001\u4e00\u3064\u306e\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u8907\u6570\u306eWeb\u30b5\u30a4\u30c8\u3092\u904b\u7528\u3059\u308b\u4ed5\u7d44\u307f\u3067\u3059\u3002<br>Nginx\u3067\u306f\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u30c9\u30e1\u30a4\u30f3\u3054\u3068\u306bserver\u30d6\u30ed\u30c3\u30af\u3092\u7528\u610f\u3059\u308b\u3053\u3068\u3067\u3001\u30a2\u30af\u30bb\u30b9\u3055\u308c\u305f\u30c9\u30e1\u30a4\u30f3\u306b\u5fdc\u3058\u3066\u7570\u306a\u308bWeb\u30da\u30fc\u30b8\u3092\u8fd4\u3059<\/span>\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u3067\u306f\u3001example.com\u3068example.net\u3068\u3044\u30462\u3064\u306e\u30b5\u30a4\u30c8\u3092\u904b\u7528\u3059\u308b\u4f8b\u3067\u624b\u9806\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<br>\u307e\u305a\u3001\u30b5\u30a4\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u5148\u307b\u3069\u3068\u540c\u3058\u8981\u9818\u3067index.html\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo mkdir -p \/var\/www\/example.com<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">mkdir<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">-p<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">\/var\/www\/example.com<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/var\/www\/example.com\/index.html<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nano<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">\/var\/www\/example.com\/index.html<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b21\u306b\u3001sites-available\u306b\u30b5\u30a4\u30c8\u7528\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/nginx\/sites-available\/example.com<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nano<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">\/etc\/nginx\/sites-available\/example.com<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306bserver\u30d6\u30ed\u30c3\u30af\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Nginx<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>server {\n    listen 80;\n    server_name example.com;\n\n    root \/var\/www\/example.com;\n    index index.html;\n}<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #C792EA\">server<\/span><span style=\"color: #EEFFFF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> listen <\/span><span style=\"color: #EEFFFF\">80<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> server_name <\/span><span style=\"color: #EEFFFF\">example.com<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> root <\/span><span style=\"color: #EEFFFF\">\/var\/www\/example.com<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> index <\/span><span style=\"color: #EEFFFF\">index.html<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f5c\u6210\u3057\u305f\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u6709\u52b9\u306b\u3059\u308b\u305f\u3081\u3001sites-enabled\u306b\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo ln -s \/etc\/nginx\/sites-available\/example.com \/etc\/nginx\/sites-enabled\/<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ln<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">-s<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">\/etc\/nginx\/sites-available\/example.com<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">\/etc\/nginx\/sites-enabled\/<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3082\u3046\u4e00\u3064\u306e\u30b5\u30a4\u30c8\u3082\u3001\u540c\u3058\u624b\u9806\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068HTML\u30d5\u30a1\u30a4\u30eb\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08\/etc\/nginx\/sites-available\/example.net\uff09\u3092\u4f5c\u6210\u3057\u3001\u30b7\u30f3\u30dc\u30ea\u30c3\u30af\u30ea\u30f3\u30af\u3067\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<br>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Nginx<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>server {\n    listen 80;\n    server_name example.net;\n\n    root \/var\/www\/example.net;\n    index index.html;\n}<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #C792EA\">server<\/span><span style=\"color: #EEFFFF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> listen <\/span><span style=\"color: #EEFFFF\">80<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> server_name <\/span><span style=\"color: #EEFFFF\">example.net<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> root <\/span><span style=\"color: #EEFFFF\">\/var\/www\/example.net<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> index <\/span><span style=\"color: #EEFFFF\">index.html<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u5f8c\u306b\u3001\u524d\u8ff0\u306e\u624b\u9806\u3067\u300csudo nginx -t\u300d\u306b\u3088\u308b\u69cb\u6587\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3044\u3001\u300csudo systemctl reload nginx\u300d\u3067\u8a2d\u5b9a\u3092\u53cd\u6620\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3067\u3001example.com\u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\/var\/www\/example.com\u306b\u3042\u308b\u30da\u30fc\u30b8\u3092\u3001example.net\u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\/var\/www\/example.net\u306b\u3042\u308b\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u69cb\u6210\u306b\u306a\u308a\u307e\u3059\u3002<br>Nginx\u306f\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u306b\u542b\u307e\u308c\u308b\u30c9\u30e1\u30a4\u30f3\u540d\uff08Host\u30d8\u30c3\u30c0\u30fc\uff09\u3068server_name\u3092\u7167\u5408\u3057\u3066\u3001\u3069\u306eserver\u30d6\u30ed\u30c3\u30af\u3067\u51e6\u7406\u3059\u308b\u304b\u3092\u6c7a\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a18\u4e8b\u4e2d\u306e\u30c9\u30e1\u30a4\u30f3\u306f\u8aac\u660e\u7528\u306e\u3082\u306e\u3067\u3059\u3002<br>\u5b9f\u969b\u306e\u30c9\u30e1\u30a4\u30f3\u3092\u4f7f\u308f\u305a\u306b\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306f\u3001curl\u30b3\u30de\u30f3\u30c9\u3067Host\u30d8\u30c3\u30c0\u30fc\u3092\u6307\u5b9a\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u6307\u5b9a\u3057\u305f\u30c9\u30e1\u30a4\u30f3\u7528\u306e\u30da\u30fc\u30b8\u304c\u8fd4\u3063\u3066\u304f\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>curl -H \"Host: example.com\" http:\/\/localhost\/<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">curl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">-H<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #C3E88D\">Host: example.com<\/span><span style=\"color: #89DDFF\">&quot;<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">http:\/\/localhost\/<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u306a\u304a\u3001\u3069\u306eserver_name\u306b\u3082\u4e00\u81f4\u3057\u306a\u3044\u30a2\u30af\u30bb\u30b9\u306f\u3001\u305d\u306e\u30dd\u30fc\u30c8\u306e\u300c\u30c7\u30d5\u30a9\u30eb\u30c8\u30b5\u30fc\u30d0\u30fc\u300d\u304c\u51e6\u7406\u3057\u307e\u3059\u3002<br>Ubuntu\u306e\u6a19\u6e96\u8a2d\u5b9a\u3067\u306f\u3001\/etc\/nginx\/sites-available\/default\u306eserver\u30d6\u30ed\u30c3\u30af\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u30b5\u30fc\u30d0\u30fc\u306b\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u30b5\u30fc\u30d0\u30fc\u306e\u9078\u3070\u308c\u65b9\u306e\u8a73\u7d30\u306f\u3001<a href=\"https:\/\/nginx.org\/en\/docs\/http\/request_processing.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Nginx\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u51e6\u7406\u306e\u89e3\u8aac<\/a>\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__5_2\" class=\"wp-block-heading\">\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3067\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u30a2\u30d7\u30ea\u3068\u9023\u643a\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306f\u3001HTML\u3084\u753b\u50cf\u306a\u3069\u3092\u76f4\u63a5\u914d\u4fe1\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001\u5225\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u8ee2\u9001\u3059\u308b\u300c\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u300d\u3068\u3057\u3066\u3082\u5229\u7528\u3067\u304d\u307e\u3059\u3002<br>\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u306f\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u3044\u3063\u305f\u3093Nginx\u304c\u53d7\u3051\u53d6\u308a\u3001\u88cf\u5074\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u8ee2\u9001\u3057\u3066\u3001\u305d\u306e\u5fdc\u7b54\u3092\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3078\u8fd4\u3059\u4ed5\u7d44\u307f<\/span>\u3067\u3059\u3002<\/p>\n\n\n\n<figure style=\"margin:16px 0;text-align:center;\">\n  <a href=\"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/nginx-reverse-proxy.webp\" class=\"img-zoom\" data-img-lightbox aria-label=\"\u753b\u50cf\u3092\u62e1\u5927\u8868\u793a:Nginx\u3092\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u4f7f\u3046\u69cb\u6210\u56f3\">\n  <img decoding=\"async\" src=\"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/nginx-reverse-proxy.webp\" class=\"post-img\" alt=\"Nginx\u3092\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066\u4f7f\u3046\u69cb\u6210\u56f3\" loading=\"lazy\">\n  <\/a>\n  <figcaption style=\"font-size:13px;color:#666;text-align:center;margin-top:8px;\">\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092Nginx\u304c\u53d7\u3051\u53d6\u308a\u3001\u30b5\u30fc\u30d0\u30fc\u5185\u90e8\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u8ee2\u9001\u3059\u308b<\/figcaption>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f8b\u3048\u3070\u3001Node.js\u3084Python\u306a\u3069\u3067\u4f5c\u6210\u3057\u305fWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u3001\u30b5\u30fc\u30d0\u30fc\u5185\u90e8\u306elocalhost:3000\u3067\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3068\u3057\u307e\u3059\u3002<br>\u3053\u306e\u5834\u5408\u3001\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u3092Nginx\u304c\u53d7\u3051\u53d6\u308a\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u8ee2\u9001\u3059\u308b\u69cb\u6210\u306b\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3068\u3057\u3066Nginx\u3092\u5229\u7528\u3059\u308b\u969b\u306f\u3001proxy_pass\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>\u6700\u4f4e\u9650\u306e\u8a2d\u5b9a\u4f8b\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<br>\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u3068\u540c\u3058\u624b\u9806\u3067\u3001sites-available\u306b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\uff08\u4f8b\uff1a\/etc\/nginx\/sites-available\/app.example.com\uff09\u3092\u4f5c\u6210\u3057\u3066\u6709\u52b9\u5316\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Nginx<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>server {\n    listen 80;\n    server_name app.example.com;\n\n    location \/ {\n        proxy_pass http:\/\/127.0.0.1:3000;\n    }\n}<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #C792EA\">server<\/span><span style=\"color: #EEFFFF\"> {<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> listen <\/span><span style=\"color: #EEFFFF\">80<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> server_name <\/span><span style=\"color: #EEFFFF\">app.example.com<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">    <\/span><span style=\"color: #C792EA\">location<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #FFCB6B\">\/ <\/span><span style=\"color: #EEFFFF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">       <\/span><span style=\"color: #89DDFF\"> proxy_pass <\/span><span style=\"color: #EEFFFF\">http:\/\/127.0.0.1:3000<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">    }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a2d\u5b9a\u3067\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089Nginx\u3078\u9001\u3089\u308c\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u3001127.0.0.1:3000\u3067\u52d5\u4f5c\u3057\u3066\u3044\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u8ee2\u9001\u3057\u307e\u3059\u3002<br>proxy_pass\u306e\u3088\u3046\u306bURL\u306e\u30d1\u30b9\u90e8\u5206\u3092\u66f8\u304b\u306a\u3044\u5834\u5408\u3001\u4f8b\u3048\u3070\u300c\/api\/users\u300d\u3078\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u305d\u306e\u307e\u307e\u300chttp:\/\/127.0.0.1:3000\/api\/users\u300d\u3078\u8ee2\u9001\u3055\u308c\u307e\u3059\u3002<br>proxy_pass\u306e\u8a73\u3057\u3044\u4ed5\u69d8\u306f\u3001<a href=\"https:\/\/nginx.org\/en\/docs\/http\/ngx_http_proxy_module.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Nginx\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306eproxy\u30e2\u30b8\u30e5\u30fc\u30eb<\/a>\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u69cb\u6210\u306b\u3088\u308a\u3001\u5916\u90e8\u304b\u3089\u76f4\u63a5\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u30a2\u30af\u30bb\u30b9\u3055\u305b\u308b\u306e\u3067\u306f\u306a\u304f\u3001Nginx\u3092\u5165\u53e3\u3068\u3057\u3066\u914d\u7f6e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br>Nginx\u3092\u524d\u6bb5\u306b\u7f6e\u304f\u3053\u3068\u3067\u3001\u9759\u7684\u30d5\u30a1\u30a4\u30eb\u306e\u914d\u4fe1\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5206\u62c5\u3057\u305f\u308a\u3001HTTPS\u901a\u4fe1\u306e\u51e6\u7406\u3092Nginx\u5074\u3067\u307e\u3068\u3081\u3066\u884c\u3063\u305f\u308a\u3059\u308b\u69cb\u6210\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9f\u969b\u306b\u904b\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306bproxy_set_header\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Nginx<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>location \/ {\n    proxy_pass http:\/\/127.0.0.1:3000;\n    proxy_set_header Host $host;\n    proxy_set_header X-Real-IP $remote_addr;\n    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n    proxy_set_header X-Forwarded-Proto $scheme;\n}<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #C792EA\">location<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #FFCB6B\">\/ <\/span><span style=\"color: #EEFFFF\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> proxy_pass <\/span><span style=\"color: #EEFFFF\">http:\/\/127.0.0.1:3000<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> proxy_set_header <\/span><span style=\"color: #EEFFFF\">Host <\/span><span style=\"color: #89DDFF\">$<\/span><span style=\"color: #EEFFFF\">host<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> proxy_set_header <\/span><span style=\"color: #EEFFFF\">X-Real-IP <\/span><span style=\"color: #89DDFF\">$<\/span><span style=\"color: #EEFFFF\">remote_addr<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> proxy_set_header <\/span><span style=\"color: #EEFFFF\">X-Forwarded-For <\/span><span style=\"color: #89DDFF\">$<\/span><span style=\"color: #EEFFFF\">proxy_add_x_forwarded_for<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">   <\/span><span style=\"color: #89DDFF\"> proxy_set_header <\/span><span style=\"color: #EEFFFF\">X-Forwarded-Proto <\/span><span style=\"color: #89DDFF\">$<\/span><span style=\"color: #EEFFFF\">scheme<\/span><span style=\"color: #89DDFF\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">}<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u6700\u4f4e\u9650\u306e\u8a2d\u5b9a\u306e\u307e\u307e\u3060\u3068\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u898b\u305f\u30a2\u30af\u30bb\u30b9\u5143\u306f\u5e38\u306bNginx\uff08127.0.0.1\uff09\u306b\u306a\u308a\u3001Host\u30d8\u30c3\u30c0\u30fc\u3082proxy_pass\u306b\u66f8\u3044\u305f\u30a2\u30c9\u30ec\u30b9\u306b\u7f6e\u304d\u63db\u308f\u308a\u307e\u3059\u3002<br>\u4e0a\u8a18\u306e\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u5143\u306e\u30c9\u30e1\u30a4\u30f3\u540d\u3084\u30a2\u30af\u30bb\u30b9\u5143\u306eIP\u30a2\u30c9\u30ec\u30b9\u3001HTTP\uff0fHTTPS\u306e\u533a\u5225\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u4f1d\u3048\u3089\u308c\u308b<\/span>\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>\u8a2d\u5b9a<\/th><th>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u4f1d\u3048\u308b\u60c5\u5831<\/th><\/tr><tr><td><strong>Host<\/strong><\/td><td>\u30d6\u30e9\u30a6\u30b6\u304c\u30a2\u30af\u30bb\u30b9\u3057\u305f\u30c9\u30e1\u30a4\u30f3\u540d<\/td><\/tr><tr><td><strong>X-Real-IP<\/strong><\/td><td>\u30a2\u30af\u30bb\u30b9\u5143\u306eIP\u30a2\u30c9\u30ec\u30b9<\/td><\/tr><tr><td><strong>X-Forwarded-For<\/strong><\/td><td>\u30a2\u30af\u30bb\u30b9\u5143\u304b\u3089\u7d4c\u7531\u3057\u3066\u304d\u305fIP\u30a2\u30c9\u30ec\u30b9\u306e\u4e00\u89a7<\/td><\/tr><tr><td><strong>X-Forwarded-Proto<\/strong><\/td><td>\u5143\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u304cHTTP\u304bHTTPS\u304b<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u308c\u3089\u306e\u30d8\u30c3\u30c0\u30fc\u3092\u5229\u7528\u3059\u308b\u304b\u3069\u3046\u304b\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u5074\u306e\u8a2d\u5b9a\u306b\u3082\u3088\u308a\u307e\u3059\u3002<br>\u307e\u305a\u306f\u6700\u4f4e\u9650\u306e\u8a2d\u5b9a\u3067\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u8ffd\u52a0\u3057\u3066\u3044\u304f\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u306a\u304a\u3001Web\u30b5\u30a4\u30c8\u3092\u4e00\u822c\u516c\u958b\u3059\u308b\u5834\u5408\u306fHTTPS\u5316\u304c\u307b\u307c\u5fc5\u9808\u3067\u3059\u3002<br>Nginx\u3067SSL\/TLS\u8a3c\u660e\u66f8\u3092\u8a2d\u5b9a\u3059\u308c\u3070\u3001Nginx\u3067\u6697\u53f7\u5316\u901a\u4fe1\u3092\u51e6\u7406\u3057\u3001Nginx\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u9593\u306fHTTP\u3067\u901a\u4fe1\u3059\u308b\u69cb\u6210\u306b\u3067\u304d\u307e\u3059\u3002<br>\u8a3c\u660e\u66f8\u306e\u53d6\u5f97\u30fb\u8a2d\u5b9a\u306f\u4f7f\u7528\u3059\u308b\u8a8d\u8a3c\u5c40\u3084\u74b0\u5883\u306b\u3088\u3063\u3066\u624b\u9806\u304c\u7570\u306a\u308b\u305f\u3081\u3001\u672c\u8a18\u4e8b\u3067\u306f\u8a73\u3057\u304f\u6271\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<div class=\"techmania-recirc\">\n<style>\n.techmania-recirc{margin:24px 0;font-family:-apple-system,\"Hiragino Kaku Gothic ProN\",\"Yu Gothic\",sans-serif;}\n.techmania-recirc__label{font-size:14px;color:#333;margin-bottom:8px;font-weight:bold;}\n.techmania-recirc__box{display:flex;align-items:center;gap:16px;border:1px solid #ddd;border-radius:4px;padding:12px 16px;text-decoration:none;transition:background .2s;}\n.techmania-recirc__box:hover{background:#f7f9fc;}\n.techmania-recirc__thumb{width:96px;aspect-ratio:6\/4;object-fit:cover;border-radius:4px;flex-shrink:0;}\n.techmania-recirc__title{color:#2952cc;font-size:15px;line-height:1.6;flex:1;}\n.techmania-recirc__arrow{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#2952cc;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;}\n<\/style>\n<div class=\"techmania-recirc__label\">\u25bc\u3053\u3061\u3089\u3082\u30c1\u30a7\u30c3\u30af\u25bc<\/div>\n<a class=\"techmania-recirc__box\" href=\"https:\/\/techmania.jp\/blog\/nodejs-install\/\">\n  <img decoding=\"async\" class=\"techmania-recirc__thumb\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/nodejs.webp\" alt=\"\u3010Node.js\u5165\u9580\u3011Node.js\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3092OS\u5225\u306b\u89e3\u8aac\uff08Win\/Mac\/Linux\uff09\" loading=\"lazy\">\n  <span class=\"techmania-recirc__title\">\u3010Node.js\u5165\u9580\u3011Node.js\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u3092OS\u5225\u306b\u89e3\u8aac\uff08Win\/Mac\/Linux\uff09<\/span>\n  <span class=\"techmania-recirc__arrow\">\u25b6<\/span>\n<\/a>\n<\/div>\n\n\n\n<h2 id=\"outline__6\" class=\"wp-block-heading\">\u3088\u304f\u3042\u308b\u30a8\u30e9\u30fc\u3068\u5bfe\u51e6\u6cd5<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u305f\u308a\u3001Web\u30b5\u30a4\u30c8\u3092\u516c\u958b\u3057\u305f\u308a\u3057\u3066\u3044\u308b\u3068\u3001\u8a2d\u5b9a\u30df\u30b9\u3084\u30d5\u30a1\u30a4\u30eb\u306e\u6a29\u9650\u306a\u3069\u304c\u539f\u56e0\u3067\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<br>\u3053\u3053\u3067\u306f\u3001Nginx\u3092\u4f7f\u3044\u59cb\u3081\u305f\u3068\u304d\u306b\u906d\u9047\u3057\u3084\u3059\u3044\u4ee3\u8868\u7684\u306a\u30a8\u30e9\u30fc\u3068\u3001\u305d\u306e\u78ba\u8a8d\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__6_1\" class=\"wp-block-heading\">\u307e\u305a\u306f\u30a8\u30e9\u30fc\u30ed\u30b0\u3092\u78ba\u8a8d\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u3067\u554f\u984c\u304c\u8d77\u304d\u305f\u3068\u304d\u306f\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u307e\u305a\u30ed\u30b0\u3092\u78ba\u8a8d\u3057\u3066\u539f\u56e0\u3092\u7279\u5b9a\u3059\u308b<\/span>\u306e\u304c\u57fa\u672c\u3067\u3059\u3002<br>Ubuntu\u306e\u6a19\u6e96\u8a2d\u5b9a\u3067\u306f\u3001\u30ed\u30b0\u306f\u6b21\u306e\u5834\u6240\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>\/var\/log\/nginx\/error.log\n\/var\/log\/nginx\/access.log<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #EEFFFF\">\/var\/log\/nginx\/error.log<\/span><\/span>\n<span class=\"line\"><span style=\"color: #EEFFFF\">\/var\/log\/nginx\/access.log<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">error.log\u306b\u306fNginx\u3067\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc\u306e\u5185\u5bb9\u304c\u3001access.log\u306b\u306f\u300c\u3069\u306eURL\u306b\u30a2\u30af\u30bb\u30b9\u304c\u3042\u308a\u3001\u3069\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u3092\u8fd4\u3057\u305f\u304b\u300d\u304c\u8a18\u9332\u3055\u308c\u307e\u3059\u3002<br>\u30a8\u30e9\u30fc\u30ed\u30b0\u306e\u6700\u65b0\u90e8\u5206\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo tail -n 20 \/var\/log\/nginx\/error.log<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">tail<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">-n<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #F78C6C\">20<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">\/var\/log\/nginx\/error.log<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 id=\"outline__6_2\" class=\"wp-block-heading\">Nginx\u304c\u8d77\u52d5\u3057\u306a\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u3092\u8d77\u52d5\u3057\u3088\u3046\u3068\u3057\u3066\u3082\u8d77\u52d5\u3067\u304d\u306a\u3044\u5834\u5408\u306f\u3001\u307e\u305a\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067Nginx\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<br>\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u8868\u793a\u304b\u3089\u539f\u56e0\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo systemctl status nginx<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">systemctl<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">status<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u305f\u76f4\u5f8c\u3067\u3042\u308c\u3070\u3001\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u539f\u56e0\u306b\u306a\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<br>\u305d\u306e\u5834\u5408\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nginx -t<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">nginx<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">-t<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u8a18\u8ff0\u306b\u554f\u984c\u304c\u3042\u308b\u5834\u5408\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3084\u884c\u756a\u53f7\u306a\u3069\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u4fee\u6b63\u6642\u306e\u53c2\u8003\u306b\u3059\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305f\u300180\u756a\u30dd\u30fc\u30c8\u3092\u307b\u304b\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\uff08Apache\u306a\u3069\uff09\u304c\u3059\u3067\u306b\u4f7f\u7528\u3057\u3066\u3044\u308b\u3068\u3001Nginx\u306f\u8d77\u52d5\u3067\u304d\u307e\u305b\u3093\u3002<br>\u3053\u306e\u5834\u5408\u3001\u30a8\u30e9\u30fc\u30ed\u30b0\u306a\u3069\u306b\u6b21\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8a18\u9332\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u4f8b<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>nginx: &#91;emerg&#93; bind() to 0.0.0.0:80 failed (98: Address already in use)<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #EEFFFF\">nginx: &#91;emerg&#93; bind() to 0.0.0.0:80 failed (98: Address already in use)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3069\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u30dd\u30fc\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u304b\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<br>\u30d7\u30ed\u30bb\u30b9\u540d\u307e\u3067\u8868\u793a\u3059\u308b\u306b\u306f\u7ba1\u7406\u8005\u6a29\u9650\u304c\u5fc5\u8981\u306a\u305f\u3081\u3001sudo\u3092\u4ed8\u3051\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo ss -ltnp<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">sudo<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">ss<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">-ltnp<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">80\u756a\u30dd\u30fc\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u898b\u3064\u304b\u3063\u305f\u5834\u5408\u306f\u3001\u305d\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u505c\u6b62\u3059\u308b\u304b\u3001Nginx\u3067\u4f7f\u7528\u3059\u308b\u30dd\u30fc\u30c8\u756a\u53f7\u3092\u5909\u66f4\u3057\u3066\u5bfe\u5fdc\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__6_3\" class=\"wp-block-heading\">\u300c502 Bad Gateway\u300d\u304c\u8868\u793a\u3055\u308c\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u906d\u9047\u3057\u3084\u3059\u3044\u306e\u304c\u3001\u300c502 Bad Gateway\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u3067\u3059\u3002<br>\u3053\u308c\u306f\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">Nginx\u304c\u8ee2\u9001\u5148\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u6b63\u5e38\u306a\u5fdc\u7b54\u3092\u53d7\u3051\u53d6\u308c\u306a\u3044<\/span>\u5834\u5408\u306a\u3069\u306b\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u505c\u6b62\u3057\u3066\u3044\u305f\u308a\u3001proxy_pass\u306b\u6307\u5b9a\u3057\u305f\u3082\u306e\u3068\u7570\u306a\u308b\u30dd\u30fc\u30c8\u3067\u52d5\u4f5c\u3057\u3066\u3044\u305f\u308a\u3059\u308b\u3068\u3001Nginx\u304b\u3089\u63a5\u7d9a\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<br>\u3053\u306e\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u969b\u306f\u3001\u307e\u305a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u6b63\u5e38\u306b\u8d77\u52d5\u3057\u3066\u3044\u308b\u304b\u3001\u524d\u8ff0\u306e\u300csudo ss -ltnp\u300d\u3067\u5f85\u3061\u53d7\u3051\u3066\u3044\u308b\u30dd\u30fc\u30c8\u756a\u53f7\u304cproxy_pass\u306e\u6307\u5b9a\u3068\u4e00\u81f4\u3057\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30a8\u30e9\u30fc\u30ed\u30b0\u306b\u306f\u3001Nginx\u304c\u8ee2\u9001\u5148\u3078\u63a5\u7d9a\u3067\u304d\u306a\u304b\u3063\u305f\u7406\u7531\u304c\u8a18\u9332\u3055\u308c\u307e\u3059\u3002<br>\u4f8b\u3048\u3070\u3001\u8ee2\u9001\u5148\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u8d77\u52d5\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8a18\u9332\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u4f8b<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>connect() failed (111: Connection refused) while connecting to upstream<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #EEFFFF\">connect() failed (111: Connection refused) while connecting to upstream<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c502 Bad Gateway\u300d\u304c\u8868\u793a\u3055\u308c\u305f\u3068\u304d\u306f\u3001Nginx\u306e\u8a2d\u5b9a\u3060\u3051\u3067\u306a\u304f\u3001\u8ee2\u9001\u5148\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u304b\u3082\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__6_4\" class=\"wp-block-heading\">\u300c403 Forbidden\u300d\u304c\u8868\u793a\u3055\u308c\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c403 Forbidden\u300d\u306f\u3001\u30b5\u30fc\u30d0\u30fc\u304c\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u7406\u89e3\u3057\u305f\u3082\u306e\u306e\u3001\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3067\u304d\u306a\u3044\u5834\u5408\u306b\u8868\u793a\u3055\u308c\u308bHTTP\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u3067\u3059\u3002<br>Nginx\u3067\u9759\u7684\u30d5\u30a1\u30a4\u30eb\u3092\u516c\u958b\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u4e3b\u306b\u6b21\u306e2\u3064\u304c\u539f\u56e0\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u6a29\u9650\u304c\u4e0d\u8db3\u3057\u3066\u3044\u3066\u3001Nginx\u304c\u8aad\u307f\u53d6\u308c\u306a\u3044<\/li>\n\n\n\n<li>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306bindex\u3067\u6307\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\uff08index.html\u306a\u3069\uff09\u304c\u5b58\u5728\u3057\u306a\u3044<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Ubuntu\u306e\u6a19\u6e96\u8a2d\u5b9a\u3067\u306f\u3001Nginx\u306e\u30ef\u30fc\u30ab\u30fc\u30d7\u30ed\u30bb\u30b9\u306f\u300cwww-data\u300d\u3068\u3044\u3046\u30e6\u30fc\u30b6\u30fc\u3067\u52d5\u4f5c\u3057\u307e\u3059\u3002<br>\u305d\u306e\u305f\u3081\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u516c\u958b\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306bwww-data\u304b\u3089\u306e\u8aad\u307f\u53d6\u308a\u6a29\u9650\u304c\u3042\u308a\u3001\u305d\u3053\u306b\u81f3\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3082\u79fb\u52d5\uff08\u5b9f\u884c\uff09\u6a29\u9650\u304c\u3042\u308b\u304b<\/span>\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br>\u6a29\u9650\u304c\u539f\u56e0\u306e\u5834\u5408\u3001error.log\u306b\u306f\u300cPermission denied\u300d\u3001index\u30d5\u30a1\u30a4\u30eb\u304c\u306a\u3044\u5834\u5408\u306f\u300cdirectory index of \u2026 is forbidden\u300d\u3068\u3044\u3063\u305f\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8a18\u9332\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3069\u306e\u6a29\u9650\u304c\u4e0e\u3048\u3089\u308c\u3066\u3044\u308b\u304b\u306f\u3001\u300cls -l\u300d\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 10px 16px;margin-bottom:-2px;width:100%;text-align:left;background-color:#304047;color:#d5ffff\">Bash<\/span><span role=\"button\" tabindex=\"0\" style=\"color:#EEFFFF;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>ls -l \/var\/www\/html\/<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki material-theme\" style=\"background-color: #263238\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FFCB6B\">ls<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">-l<\/span><span style=\"color: #EEFFFF\"> <\/span><span style=\"color: #C3E88D\">\/var\/www\/html\/<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u305f\u3060\u3057\u3001\u5fc5\u8981\u4ee5\u4e0a\u306e\u6a29\u9650\u3092\u4e0e\u3048\u3066\u3057\u307e\u3046\u3068\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u554f\u984c\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<br>\u300cchmod 777\u300d\u306e\u3088\u3046\u306b\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u3078\u66f8\u304d\u8fbc\u307f\u6a29\u9650\u3092\u4e0e\u3048\u308b\u306e\u3067\u306f\u306a\u304f\u3001\u5fc5\u8981\u306a\u8aad\u307f\u53d6\u308a\u6a29\u9650\u3060\u3051\u3092\u4ed8\u4e0e\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<div class=\"techmania-recirc\">\n<style>\n.techmania-recirc{margin:24px 0;font-family:-apple-system,\"Hiragino Kaku Gothic ProN\",\"Yu Gothic\",sans-serif;}\n.techmania-recirc__label{font-size:14px;color:#333;margin-bottom:8px;font-weight:bold;}\n.techmania-recirc__box{display:flex;align-items:center;gap:16px;border:1px solid #ddd;border-radius:4px;padding:12px 16px;text-decoration:none;transition:background .2s;}\n.techmania-recirc__box:hover{background:#f7f9fc;}\n.techmania-recirc__thumb{width:96px;aspect-ratio:6\/4;object-fit:cover;border-radius:4px;flex-shrink:0;}\n.techmania-recirc__title{color:#2952cc;font-size:15px;line-height:1.6;flex:1;}\n.techmania-recirc__arrow{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#2952cc;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;}\n<\/style>\n<div class=\"techmania-recirc__label\">\u25bc\u3053\u3061\u3089\u3082\u30c1\u30a7\u30c3\u30af\u25bc<\/div>\n<a class=\"techmania-recirc__box\" href=\"https:\/\/techmania.jp\/blog\/linux0004\/\">\n  <img decoding=\"async\" class=\"techmania-recirc__thumb\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/thumbnail\/images\/Linux%E3%82%B3%E3%83%9E%E3%83%B3%E3%83%89pic.png\" alt=\"\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011\u3088\u304f\u4f7f\u3046Linux\u30b3\u30de\u30f3\u30c9\u4e00\u89a7\u8868\" loading=\"lazy\">\n  <span class=\"techmania-recirc__title\">\u3010\u521d\u5fc3\u8005\u5411\u3051\u3011\u3088\u304f\u4f7f\u3046Linux\u30b3\u30de\u30f3\u30c9\u4e00\u89a7\u8868<\/span>\n  <span class=\"techmania-recirc__arrow\">\u25b6<\/span>\n<\/a>\n<\/div>\n\n\n\n<h2 id=\"outline__7\" class=\"wp-block-heading\">Nginx\u306b\u95a2\u3059\u308b\u3088\u304f\u3042\u308b\u8cea\u554f<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q. Nginx\u306f\u7121\u6599\u3067\u4f7f\u3048\u307e\u3059\u304b\uff1f<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. Nginx\u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\uff082\u6761\u9805BSD\u30e9\u30a4\u30bb\u30f3\u30b9\uff09\u3068\u3057\u3066\u516c\u958b\u3055\u308c\u3066\u304a\u308a\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u7121\u6599\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30fb\u5229\u7528\u3067\u304d\u307e\u3059<\/span>\u3002<br>\u306a\u304a\u3001F5\u793e\u304b\u3089\u306f\u8ffd\u52a0\u6a5f\u80fd\u3084\u30b5\u30dd\u30fc\u30c8\u304c\u4ed8\u3044\u305f\u5546\u7528\u7248\u306e<a href=\"https:\/\/www.f5.com\/products\/nginx\/nginx-plus\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">NGINX Plus<\/a>\u3082\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u5b66\u7fd2\u3084\u4e00\u822c\u7684\u306aWeb\u30b5\u30a4\u30c8\u306e\u904b\u7528\u3067\u3042\u308c\u3070\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u7248\u3067\u5341\u5206\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q. Nginx\u306fWindows\u3067\u3082\u4f7f\u3048\u307e\u3059\u304b\uff1f<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. nginx.org\u3067\u306fWindows\u7248\u3082\u914d\u5e03\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br>\u305f\u3060\u3057\u3001<a href=\"https:\/\/nginx.org\/en\/docs\/windows.html\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Windows\u7248\u306e\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3067\u306f\u30d9\u30fc\u30bf\u7248\u6271\u3044\u3068\u3055\u308c\u3066\u304a\u308a\u3001\u6027\u80fd\u3084\u4e00\u90e8\u6a5f\u80fd\u306b\u5236\u9650\u304c\u3042\u308a\u307e\u3059\u3002<br><span class=\"c-user01\" style=\"font-weight:bold;\">\u672c\u756a\u74b0\u5883\u3067\u306fLinux\u4e0a\u3067\u52d5\u304b\u3059\u306e\u304c\u4e00\u822c\u7684<\/span>\u306a\u305f\u3081\u3001\u5b66\u7fd2\u306e\u6bb5\u968e\u304b\u3089Ubuntu\u306a\u3069\u306eLinux\u74b0\u5883\u3067\u8a66\u3057\u3066\u304a\u304f\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q. Nginx\u3092Docker\u3067\u52d5\u304b\u3059\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u3067\u304d\u307e\u3059\u3002<br>Docker Hub\u3067\u306f<a href=\"https:\/\/hub.docker.com\/_\/nginx\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Nginx\u306e\u516c\u5f0fDocker\u30a4\u30e1\u30fc\u30b8<\/a>\u304c\u516c\u958b\u3055\u308c\u3066\u304a\u308a\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">\u30b5\u30fc\u30d0\u30fc\u306b\u76f4\u63a5\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u306a\u304f\u3066\u3082\u3001\u30b3\u30f3\u30c6\u30ca\u3068\u3057\u3066Nginx\u3092\u8d77\u52d5<\/span>\u3067\u304d\u307e\u3059\u3002<br>\u624b\u5143\u306ePC\u3067\u624b\u8efd\u306b\u8a66\u3057\u305f\u3044\u5834\u5408\u3084\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u4e00\u7dd2\u306b\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u305f\u3044\u5834\u5408\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"techmania-recirc\">\n<style>\n.techmania-recirc{margin:24px 0;font-family:-apple-system,\"Hiragino Kaku Gothic ProN\",\"Yu Gothic\",sans-serif;}\n.techmania-recirc__label{font-size:14px;color:#333;margin-bottom:8px;font-weight:bold;}\n.techmania-recirc__box{display:flex;align-items:center;gap:16px;border:1px solid #ddd;border-radius:4px;padding:12px 16px;text-decoration:none;transition:background .2s;}\n.techmania-recirc__box:hover{background:#f7f9fc;}\n.techmania-recirc__thumb{width:96px;aspect-ratio:6\/4;object-fit:cover;border-radius:4px;flex-shrink:0;}\n.techmania-recirc__title{color:#2952cc;font-size:15px;line-height:1.6;flex:1;}\n.techmania-recirc__arrow{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#2952cc;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px;}\n<\/style>\n<div class=\"techmania-recirc__label\">\u25bc\u3053\u3061\u3089\u3082\u30c1\u30a7\u30c3\u30af\u25bc<\/div>\n<a class=\"techmania-recirc__box\" href=\"https:\/\/techmania.jp\/blog\/docker0001\/\">\n  <img decoding=\"async\" class=\"techmania-recirc__thumb\" src=\"https:\/\/web-img.rensa.jp.net\/rensa\/images\/techmania\/common\/ai_catch_docker.jpg\" alt=\"Docker\u5165\u9580\uff08\u7b2c1\u56de\uff09\uff5c\u521d\u5fc3\u8005\u5411\u3051\u306b\u6982\u8981\u3084\u57fa\u672c\u30b3\u30de\u30f3\u30c9\u3092\u89e3\u8aac\" loading=\"lazy\">\n  <span class=\"techmania-recirc__title\">Docker\u5165\u9580\uff08\u7b2c1\u56de\uff09\uff5c\u521d\u5fc3\u8005\u5411\u3051\u306b\u6982\u8981\u3084\u57fa\u672c\u30b3\u30de\u30f3\u30c9\u3092\u89e3\u8aac<\/span>\n  <span class=\"techmania-recirc__arrow\">\u25b6<\/span>\n<\/a>\n<\/div>\n\n\n\n<h2 id=\"outline__8\" class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u306f\u3001\u9759\u7684\u306aHTML\u3084\u753b\u50cf\u306a\u3069\u3092\u914d\u4fe1\u3059\u308bWeb\u30b5\u30fc\u30d0\u30fc\u3068\u3057\u3066\u3060\u3051\u3067\u306a\u304f\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3084\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u306a\u3069\u3001<span class=\"c-user01\" style=\"font-weight:bold;\">Web\u30b7\u30b9\u30c6\u30e0\u306e\u3055\u307e\u3056\u307e\u306a\u5834\u6240\u3067\u5229\u7528\u3067\u304d\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2<\/span>\u3067\u3059\u3002<br>\u30a4\u30d9\u30f3\u30c8\u99c6\u52d5\u578b\u306e\u4ed5\u7d44\u307f\u306b\u3088\u308a\u591a\u6570\u306e\u63a5\u7d9a\u3092\u52b9\u7387\u3088\u304f\u51e6\u7406\u3067\u304d\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4e2d\u5fc3\u3068\u3057\u305f\u30b7\u30f3\u30d7\u30eb\u306a\u7ba1\u7406\u65b9\u6cd5\u3082\u7279\u5fb4\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nginx\u3067\u3067\u304d\u308b\u3053\u3068\u306b\u306f\u5e45\u304c\u3042\u308b\u305f\u3081\u3001\u6163\u308c\u306a\u3044\u3046\u3061\u306f\u9759\u7684\u30da\u30fc\u30b8\u3092\u516c\u958b\u3059\u308b\u3068\u3053\u308d\u304b\u3089\u59cb\u3081\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u69cb\u9020\u3084\u300cnginx -t \u2192 reload\u300d\u306e\u6d41\u308c\u3092\u8eab\u306b\u4ed8\u3051\u3066\u304b\u3089\u3001\u30d0\u30fc\u30c1\u30e3\u30eb\u30db\u30b9\u30c8\u3084\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306b\u6311\u6226\u3059\u308b\u3068\u826f\u3044\u3067\u3057\u3087\u3046\u3002<br>\u3055\u3089\u306b\u8a73\u3057\u3044\u8a2d\u5b9a\u3092\u77e5\u308a\u305f\u3044\u5834\u5408\u306f\u3001<a href=\"https:\/\/nginx.org\/en\/docs\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">nginx\u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3082\u3042\u308f\u305b\u3066\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Nginx\uff08\u30a8\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001\u8efd\u91cf\u30fb\u9ad8\u6027\u80fd\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306fNginx\u306e\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\u3001Apache\u3068\u306e\u9055\u3044\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac\u3002Ubuntu\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u304b\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u8a2d\u5b9a\u3001502\u30fb403\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5\u307e\u3067\u5b9f\u8df5\u5f62\u5f0f\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u7d39\u4ecb\u3057\u307e\u3059\u3002","protected":false},"author":12,"featured_media":11326,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"fifu_image_url":"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/nginx.webp","fifu_image_alt":"\u3010Nginx\u3011\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u99c6\u4f7f\u3057\u3066Web\u30da\u30fc\u30b8\u3092\u516c\u958b\u3059\u308b","footnotes":""},"categories":[37],"tags":[],"class_list":["post-11314","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Nginx\uff08\u30a8\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001\u8efd\u91cf\u30fb\u9ad8\u6027\u80fd\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306fNginx\u306e\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\u3001Apache\u3068\u306e\u9055\u3044\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac\u3002Ubuntu\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u304b\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u8a2d\u5b9a\u3001502\u30fb403\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5\u307e\u3067\u5b9f\u8df5\u5f62\u5f0f\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u7de8\u96c6\u90e8\u3000\u65e9\u5ddd\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/techmania.jp\/blog\/nginx\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TechMania |\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac\" \/>\n\t\t<meta property=\"og:description\" content=\"Nginx\uff08\u30a8\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001\u8efd\u91cf\u30fb\u9ad8\u6027\u80fd\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306fNginx\u306e\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\u3001Apache\u3068\u306e\u9055\u3044\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac\u3002Ubuntu\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u304b\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u8a2d\u5b9a\u3001502\u30fb403\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5\u307e\u3067\u5b9f\u8df5\u5f62\u5f0f\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/techmania.jp\/blog\/nginx\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1368\" \/>\n\t\t<meta property=\"og:image:height\" content=\"196\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-10-02T13:30:47+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-10-02T13:30:49+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Nginx\uff08\u30a8\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001\u8efd\u91cf\u30fb\u9ad8\u6027\u80fd\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306fNginx\u306e\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\u3001Apache\u3068\u306e\u9055\u3044\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac\u3002Ubuntu\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u304b\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u8a2d\u5b9a\u3001502\u30fb403\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5\u307e\u3067\u5b9f\u8df5\u5f62\u5f0f\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#blogposting\",\"name\":\"Nginx\\u3068\\u306f\\uff1fWeb\\u30b5\\u30fc\\u30d0\\u30fc\\u306e\\u4ed5\\u7d44\\u307f\\u30fbApache\\u3068\\u306e\\u9055\\u3044\\u30fb\\u4f7f\\u3044\\u65b9\\u3092\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u76ee\\u7dda\\u3067\\u89e3\\u8aac\",\"headline\":\"Nginx\\u3068\\u306f\\uff1fWeb\\u30b5\\u30fc\\u30d0\\u30fc\\u306e\\u4ed5\\u7d44\\u307f\\u30fbApache\\u3068\\u306e\\u9055\\u3044\\u30fb\\u4f7f\\u3044\\u65b9\\u3092\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u76ee\\u7dda\\u3067\\u89e3\\u8aac\",\"author\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/k-h\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/web-img.rensa.jp.net\\\/images\\\/techmania\\\/thumbnail\\\/images\\\/nginx.webp\",\"width\":599,\"height\":401,\"caption\":\"\\u3010Nginx\\u3011\\u30aa\\u30fc\\u30d7\\u30f3\\u30bd\\u30fc\\u30b9\\u30bd\\u30d5\\u30c8\\u30a6\\u30a7\\u30a2\\u3092\\u99c6\\u4f7f\\u3057\\u3066Web\\u30da\\u30fc\\u30b8\\u3092\\u516c\\u958b\\u3059\\u308b\"},\"datePublished\":\"2026-10-02T22:30:47+09:00\",\"dateModified\":\"2026-10-02T22:30:49+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#webpage\"},\"articleSection\":\"Server\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/techmania.jp\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/category\\\/server\\\/#listItem\",\"name\":\"Server\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/category\\\/server\\\/#listItem\",\"position\":2,\"name\":\"Server\",\"item\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/category\\\/server\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#listItem\",\"name\":\"Nginx\\u3068\\u306f\\uff1fWeb\\u30b5\\u30fc\\u30d0\\u30fc\\u306e\\u4ed5\\u7d44\\u307f\\u30fbApache\\u3068\\u306e\\u9055\\u3044\\u30fb\\u4f7f\\u3044\\u65b9\\u3092\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u76ee\\u7dda\\u3067\\u89e3\\u8aac\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#listItem\",\"position\":3,\"name\":\"Nginx\\u3068\\u306f\\uff1fWeb\\u30b5\\u30fc\\u30d0\\u30fc\\u306e\\u4ed5\\u7d44\\u307f\\u30fbApache\\u3068\\u306e\\u9055\\u3044\\u30fb\\u4f7f\\u3044\\u65b9\\u3092\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u76ee\\u7dda\\u3067\\u89e3\\u8aac\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/category\\\/server\\\/#listItem\",\"name\":\"Server\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#organization\",\"name\":\"\\u682a\\u5f0f\\u4f1a\\u793e\\u30ec\\u30f3\\u30b5\",\"description\":\"\\u682a\\u5f0f\\u4f1a\\u793e\\u30ec\\u30f3\\u30b5\\u306f\\u3001\\u81ea\\u793e\\u30b3\\u30f3\\u30c6\\u30f3\\u30c4\\u904b\\u7528\\u3092\\u8ef8\\u306b\\u300c\\u30aa\\u30a6\\u30f3\\u30c9\\u30e1\\u30c7\\u30a3\\u30a2\\u904b\\u55b6\\u300d\\u300c\\u5404\\u30e1\\u30c7\\u30a3\\u30a2\\u306e\\u5e83\\u544a\\u904b\\u7528\\u300d\\u300c\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u306e\\u80b2\\u6210\\u300d\\u300c\\u30b7\\u30b9\\u30c6\\u30e0\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u30ea\\u30f3\\u30b0\\u4e8b\\u696d\\u300d\\u3092\\u5c55\\u958b\\u3057\\u3066\\u3044\\u307e\\u3059\\u3002\\u6e29\\u5ea6\\u3092\\u611f\\u3058\\u308b\\u30af\\u30ea\\u30a8\\u30a4\\u30c6\\u30a3\\u30d6\\u3068\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u30ea\\u30f3\\u30b0\\u3067\\u793e\\u4f1a\\u306b\\u8ca2\\u732e\\u3057\\u307e\\u3059\\u3002\",\"url\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/\",\"telephone\":\"+81364575500\",\"foundingDate\":\"2011-02-18\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/web-img.rensa.jp.net\\\/images\\\/techmania\\\/thumbnail\\\/images\\\/logo2.webp\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/k-h\\\/#author\",\"url\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/k-h\\\/\",\"name\":\"\\u30c6\\u30c3\\u30af\\u30de\\u30cb\\u30a2\\u7de8\\u96c6\\u90e8\\u3000\\u65e9\\u5ddd\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f3efd10a50c6027d326cce83db9bfd1e00de2edb5a323b312022e637f1c55f3e?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"\\u30c6\\u30c3\\u30af\\u30de\\u30cb\\u30a2\\u7de8\\u96c6\\u90e8\\u3000\\u65e9\\u5ddd\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#webpage\",\"url\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/\",\"name\":\"Nginx\\u3068\\u306f\\uff1fWeb\\u30b5\\u30fc\\u30d0\\u30fc\\u306e\\u4ed5\\u7d44\\u307f\\u30fbApache\\u3068\\u306e\\u9055\\u3044\\u30fb\\u4f7f\\u3044\\u65b9\\u3092\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2\\u76ee\\u7dda\\u3067\\u89e3\\u8aac\",\"description\":\"Nginx\\uff08\\u30a8\\u30f3\\u30b8\\u30f3\\u30a8\\u30c3\\u30af\\u30b9\\uff09\\u3068\\u306f\\u3001\\u8efd\\u91cf\\u30fb\\u9ad8\\u6027\\u80fd\\u306a\\u30aa\\u30fc\\u30d7\\u30f3\\u30bd\\u30fc\\u30b9\\u306eWeb\\u30b5\\u30fc\\u30d0\\u30fc\\u3067\\u3059\\u3002\\u3053\\u306e\\u8a18\\u4e8b\\u3067\\u306fNginx\\u306e\\u7279\\u5fb4\\u3084\\u4ed5\\u7d44\\u307f\\u3001Apache\\u3068\\u306e\\u9055\\u3044\\u3092\\u521d\\u5fc3\\u8005\\u5411\\u3051\\u306b\\u89e3\\u8aac\\u3002Ubuntu\\u3078\\u306e\\u30a4\\u30f3\\u30b9\\u30c8\\u30fc\\u30eb\\u65b9\\u6cd5\\u304b\\u3089\\u8a2d\\u5b9a\\u30d5\\u30a1\\u30a4\\u30eb\\u306e\\u57fa\\u672c\\u3001\\u30ea\\u30d0\\u30fc\\u30b9\\u30d7\\u30ed\\u30ad\\u30b7\\u306e\\u8a2d\\u5b9a\\u3001502\\u30fb403\\u30a8\\u30e9\\u30fc\\u306e\\u5bfe\\u51e6\\u6cd5\\u307e\\u3067\\u5b9f\\u8df5\\u5f62\\u5f0f\\u3067\\u5206\\u304b\\u308a\\u3084\\u3059\\u304f\\u7d39\\u4ecb\\u3057\\u307e\\u3059\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/k-h\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/author\\\/k-h\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/web-img.rensa.jp.net\\\/images\\\/techmania\\\/thumbnail\\\/images\\\/nginx.webp\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#mainImage\",\"width\":599,\"height\":401,\"caption\":\"\\u3010Nginx\\u3011\\u30aa\\u30fc\\u30d7\\u30f3\\u30bd\\u30fc\\u30b9\\u30bd\\u30d5\\u30c8\\u30a6\\u30a7\\u30a2\\u3092\\u99c6\\u4f7f\\u3057\\u3066Web\\u30da\\u30fc\\u30b8\\u3092\\u516c\\u958b\\u3059\\u308b\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/nginx\\\/#mainImage\"},\"datePublished\":\"2026-10-02T22:30:47+09:00\",\"dateModified\":\"2026-10-02T22:30:49+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/\",\"name\":\"TechMania\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/techmania.jp\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac","description":"Nginx\uff08\u30a8\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001\u8efd\u91cf\u30fb\u9ad8\u6027\u80fd\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306fNginx\u306e\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\u3001Apache\u3068\u306e\u9055\u3044\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac\u3002Ubuntu\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u304b\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u8a2d\u5b9a\u3001502\u30fb403\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5\u307e\u3067\u5b9f\u8df5\u5f62\u5f0f\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u7d39\u4ecb\u3057\u307e\u3059\u3002","canonical_url":"https:\/\/techmania.jp\/blog\/nginx\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/techmania.jp\/blog\/nginx\/#blogposting","name":"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac","headline":"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac","author":{"@id":"https:\/\/techmania.jp\/blog\/author\/k-h\/#author"},"publisher":{"@id":"https:\/\/techmania.jp\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/nginx.webp","width":599,"height":401,"caption":"\u3010Nginx\u3011\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u99c6\u4f7f\u3057\u3066Web\u30da\u30fc\u30b8\u3092\u516c\u958b\u3059\u308b"},"datePublished":"2026-10-02T22:30:47+09:00","dateModified":"2026-10-02T22:30:49+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/techmania.jp\/blog\/nginx\/#webpage"},"isPartOf":{"@id":"https:\/\/techmania.jp\/blog\/nginx\/#webpage"},"articleSection":"Server"},{"@type":"BreadcrumbList","@id":"https:\/\/techmania.jp\/blog\/nginx\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/techmania.jp\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/category\/server\/#listItem","name":"Server"}},{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/category\/server\/#listItem","position":2,"name":"Server","item":"https:\/\/techmania.jp\/blog\/category\/server\/","nextItem":{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/nginx\/#listItem","name":"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac"},"previousItem":{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/nginx\/#listItem","position":3,"name":"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac","previousItem":{"@type":"ListItem","@id":"https:\/\/techmania.jp\/blog\/category\/server\/#listItem","name":"Server"}}]},{"@type":"Organization","@id":"https:\/\/techmania.jp\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793e\u30ec\u30f3\u30b5","description":"\u682a\u5f0f\u4f1a\u793e\u30ec\u30f3\u30b5\u306f\u3001\u81ea\u793e\u30b3\u30f3\u30c6\u30f3\u30c4\u904b\u7528\u3092\u8ef8\u306b\u300c\u30aa\u30a6\u30f3\u30c9\u30e1\u30c7\u30a3\u30a2\u904b\u55b6\u300d\u300c\u5404\u30e1\u30c7\u30a3\u30a2\u306e\u5e83\u544a\u904b\u7528\u300d\u300c\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u80b2\u6210\u300d\u300c\u30b7\u30b9\u30c6\u30e0\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u4e8b\u696d\u300d\u3092\u5c55\u958b\u3057\u3066\u3044\u307e\u3059\u3002\u6e29\u5ea6\u3092\u611f\u3058\u308b\u30af\u30ea\u30a8\u30a4\u30c6\u30a3\u30d6\u3068\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u3067\u793e\u4f1a\u306b\u8ca2\u732e\u3057\u307e\u3059\u3002","url":"https:\/\/techmania.jp\/blog\/","telephone":"+81364575500","foundingDate":"2011-02-18","logo":{"@type":"ImageObject","url":"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/logo2.webp","@id":"https:\/\/techmania.jp\/blog\/nginx\/#organizationLogo"},"image":{"@id":"https:\/\/techmania.jp\/blog\/nginx\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/techmania.jp\/blog\/author\/k-h\/#author","url":"https:\/\/techmania.jp\/blog\/author\/k-h\/","name":"\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u7de8\u96c6\u90e8\u3000\u65e9\u5ddd","image":{"@type":"ImageObject","@id":"https:\/\/techmania.jp\/blog\/nginx\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/f3efd10a50c6027d326cce83db9bfd1e00de2edb5a323b312022e637f1c55f3e?s=96&d=mm&r=g","width":96,"height":96,"caption":"\u30c6\u30c3\u30af\u30de\u30cb\u30a2\u7de8\u96c6\u90e8\u3000\u65e9\u5ddd"}},{"@type":"WebPage","@id":"https:\/\/techmania.jp\/blog\/nginx\/#webpage","url":"https:\/\/techmania.jp\/blog\/nginx\/","name":"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac","description":"Nginx\uff08\u30a8\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001\u8efd\u91cf\u30fb\u9ad8\u6027\u80fd\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306fNginx\u306e\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\u3001Apache\u3068\u306e\u9055\u3044\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac\u3002Ubuntu\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u304b\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u8a2d\u5b9a\u3001502\u30fb403\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5\u307e\u3067\u5b9f\u8df5\u5f62\u5f0f\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u7d39\u4ecb\u3057\u307e\u3059\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/techmania.jp\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/techmania.jp\/blog\/nginx\/#breadcrumblist"},"author":{"@id":"https:\/\/techmania.jp\/blog\/author\/k-h\/#author"},"creator":{"@id":"https:\/\/techmania.jp\/blog\/author\/k-h\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/web-img.rensa.jp.net\/images\/techmania\/thumbnail\/images\/nginx.webp","@id":"https:\/\/techmania.jp\/blog\/nginx\/#mainImage","width":599,"height":401,"caption":"\u3010Nginx\u3011\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u99c6\u4f7f\u3057\u3066Web\u30da\u30fc\u30b8\u3092\u516c\u958b\u3059\u308b"},"primaryImageOfPage":{"@id":"https:\/\/techmania.jp\/blog\/nginx\/#mainImage"},"datePublished":"2026-10-02T22:30:47+09:00","dateModified":"2026-10-02T22:30:49+09:00"},{"@type":"WebSite","@id":"https:\/\/techmania.jp\/blog\/#website","url":"https:\/\/techmania.jp\/blog\/","name":"TechMania","inLanguage":"ja","publisher":{"@id":"https:\/\/techmania.jp\/blog\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"TechMania |","og:type":"article","og:title":"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac","og:description":"Nginx\uff08\u30a8\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001\u8efd\u91cf\u30fb\u9ad8\u6027\u80fd\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306fNginx\u306e\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\u3001Apache\u3068\u306e\u9055\u3044\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac\u3002Ubuntu\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u304b\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u8a2d\u5b9a\u3001502\u30fb403\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5\u307e\u3067\u5b9f\u8df5\u5f62\u5f0f\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u7d39\u4ecb\u3057\u307e\u3059\u3002","og:url":"https:\/\/techmania.jp\/blog\/nginx\/","og:image":"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png","og:image:secure_url":"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png","og:image:width":1368,"og:image:height":196,"article:published_time":"2026-10-02T13:30:47+00:00","article:modified_time":"2026-10-02T13:30:49+00:00","twitter:card":"summary","twitter:title":"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac","twitter:description":"Nginx\uff08\u30a8\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001\u8efd\u91cf\u30fb\u9ad8\u6027\u80fd\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306fNginx\u306e\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\u3001Apache\u3068\u306e\u9055\u3044\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac\u3002Ubuntu\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u304b\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u8a2d\u5b9a\u3001502\u30fb403\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5\u307e\u3067\u5b9f\u8df5\u5f62\u5f0f\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u7d39\u4ecb\u3057\u307e\u3059\u3002","twitter:image":"https:\/\/techmania.jp\/blog\/wp-content\/uploads\/2023\/07\/logo2.png"},"aioseo_meta_data":{"post_id":"11314","title":"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac","description":"Nginx\uff08\u30a8\u30f3\u30b8\u30f3\u30a8\u30c3\u30af\u30b9\uff09\u3068\u306f\u3001\u8efd\u91cf\u30fb\u9ad8\u6027\u80fd\u306a\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306fNginx\u306e\u7279\u5fb4\u3084\u4ed5\u7d44\u307f\u3001Apache\u3068\u306e\u9055\u3044\u3092\u521d\u5fc3\u8005\u5411\u3051\u306b\u89e3\u8aac\u3002Ubuntu\u3078\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\u304b\u3089\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u57fa\u672c\u3001\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u8a2d\u5b9a\u3001502\u30fb403\u30a8\u30e9\u30fc\u306e\u5bfe\u51e6\u6cd5\u307e\u3067\u5b9f\u8df5\u5f62\u5f0f\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u7d39\u4ecb\u3057\u307e\u3059\u3002","keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_custom_image_width":null,"og_custom_image_height":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"created":"2026-10-02 11:05:56","updated":"2026-10-02 13:30:49","primary_term":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"twitter_image_url":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/techmania.jp\/blog\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/techmania.jp\/blog\/category\/server\/\" title=\"Server\">Server<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tNginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/techmania.jp\/blog"},{"label":"Server","link":"https:\/\/techmania.jp\/blog\/category\/server\/"},{"label":"Nginx\u3068\u306f\uff1fWeb\u30b5\u30fc\u30d0\u30fc\u306e\u4ed5\u7d44\u307f\u30fbApache\u3068\u306e\u9055\u3044\u30fb\u4f7f\u3044\u65b9\u3092\u30a8\u30f3\u30b8\u30cb\u30a2\u76ee\u7dda\u3067\u89e3\u8aac","link":"https:\/\/techmania.jp\/blog\/nginx\/"}],"_links":{"self":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/11314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/comments?post=11314"}],"version-history":[{"count":4,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/11314\/revisions"}],"predecessor-version":[{"id":11334,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/posts\/11314\/revisions\/11334"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media\/11326"}],"wp:attachment":[{"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/media?parent=11314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/categories?post=11314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techmania.jp\/blog\/wp-json\/wp\/v2\/tags?post=11314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}