{"id":707,"date":"2020-10-27T00:24:00","date_gmt":"2020-10-26T15:24:00","guid":{"rendered":"http:\/\/www.ranran.mydns.jp\/blog\/?p=707"},"modified":"2020-11-28T18:00:22","modified_gmt":"2020-11-28T09:00:22","slug":"opnsense-nginx-lets-encrypt%e3%81%a7%e3%83%ab%e3%83%bc%e3%82%bf%e3%83%bc%e5%85%bc%e3%83%ad%e3%83%bc%e3%83%89%e3%83%90%e3%83%a9%e3%83%b3%e3%82%b5%e3%83%bc%e3%82%92%e6%a7%8b%e7%af%89-2","status":"publish","type":"post","link":"http:\/\/www.ranran.mydns.jp\/blog\/?p=707","title":{"rendered":"OpnSense + Nginx + Let\u2019s Encrypt\u3067\u30eb\u30fc\u30bf\u30fc\u517c\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u3002\uff08Nginx\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u7de8\uff09"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u25c6Nginx\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>\u300c\u30b7\u30b9\u30c6\u30e0&gt;\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2&gt;\u30d7\u30e9\u30b0\u30a4\u30f3\u300d\u3092\u9078\u629e<\/p>\n\n\n\n<figure class=\"wp-block-image size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"450\" height=\"188\" src=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u30d7\u30e9\u30b0\u30a4\u30f31-1-450x188.png\" alt=\"\" class=\"wp-image-757\" srcset=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u30d7\u30e9\u30b0\u30a4\u30f31-1-450x188.png 450w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u30d7\u30e9\u30b0\u30a4\u30f31-1-1024x428.png 1024w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u30d7\u30e9\u30b0\u30a4\u30f31-1-768x321.png 768w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u30d7\u30e9\u30b0\u30a4\u30f31-1.png 1377w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><figcaption>\u300cos-nginx\u300d\u306e\u300c+\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u25c6\u7ba1\u7406WebUI\u306e\u52d5\u4f5c\u30dd\u30fc\u30c8\u3092\u5909\u66f4<\/h2>\n\n\n\n<p>Nginx\u309280\u30fb443\u30dd\u30fc\u30c8\u3067\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u3001\u7ba1\u7406\u7528WebGUI\u306e\u30dd\u30fc\u30c8\u3068\u88ab\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u7ba1\u7406\u7528WebGUI\u306e\u30dd\u30fc\u30c8\u3092\u5909\u66f4\u3057\u3066\u304a\u304d\u307e\u3059\u3002\uff08\u5909\u66f4\u3057\u305f\u30dd\u30fc\u30c8\u3092\u5fd8\u308c\u3066\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u304f\u306a\u3089\u306a\u3044\u3088\u3046\u6ce8\u610f\uff01\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"450\" height=\"210\" src=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u7ba1\u74061-450x210.png\" alt=\"\" class=\"wp-image-756\" srcset=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u7ba1\u74061-450x210.png 450w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u7ba1\u74061-1024x478.png 1024w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u7ba1\u74061-768x359.png 768w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u7ba1\u74061.png 1374w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><figcaption>TCP\u30dd\u30fc\u30c8\u3092\u4efb\u610f\u306e\u30dd\u30fc\u30c8\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u25c6\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3092\u69cb\u6210\u3059\u308b<\/h2>\n\n\n\n<p>\u3053\u3053\u3067\u306fLAN\u5074\u306b\u300c192.168.1.100\u300d\u3068\u3044\u3046Web\u30b5\u30fc\u30d0\u30fc\u304c\u5b58\u5728\u3059\u308b\u524d\u63d0\u3067\u8a2d\u5b9a\u3092\u9032\u3081\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u300c\u30b5\u30fc\u30d3\u30b9&gt;Nginx&gt;\u69cb\u6210\u300d\u3092\u9078\u629e\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u2460Upstream\u30b5\u30fc\u30d0\u30fc\u3092\u767b\u9332<\/h3>\n\n\n\n<figure class=\"wp-block-image size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"450\" height=\"251\" src=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx1-450x251.png\" alt=\"\" class=\"wp-image-758\" srcset=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx1-450x251.png 450w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx1-768x428.png 768w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx1.png 911w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><figcaption>\u300cUpstream Server\u300d\u3092\u9078\u629e\u3057\u3066\u3001\u300c+\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3002<br>Upstream Server\u3092\u8ffd\u52a0<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"450\" height=\"291\" src=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx2-450x291.png\" alt=\"\" class=\"wp-image-759\" srcset=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx2-450x291.png 450w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx2-768x496.png 768w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx2.png 902w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><figcaption>\u300cUpstream\u300d\u3092\u9078\u629e\u3057\u3066\u3001\u300c+\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u4e0b\u3002<br>Server Entries\u306b\u2191\u3067\u8a2d\u5b9a\u3057\u305f\u30b5\u30fc\u30d0\u30fc\u3092\u9078\u629e\u3002<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u2461Location\u3092\u8a2d\u5b9a<\/h3>\n\n\n\n<figure class=\"wp-block-image size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"450\" height=\"410\" src=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx3-1-450x410.png\" alt=\"\" class=\"wp-image-761\" srcset=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx3-1-450x410.png 450w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx3-1-768x700.png 768w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx3-1.png 908w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><figcaption>Upstream Servers\u306b\u2460\u306eUpstream\u3092\u8a2d\u5b9a<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u2462HttpServer\u3092\u8a2d\u5b9a<\/h3>\n\n\n\n<figure class=\"wp-block-image size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"450\" height=\"412\" src=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx4-1-450x412.png\" alt=\"\" class=\"wp-image-763\" srcset=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx4-1-450x412.png 450w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx4-1-768x703.png 768w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI_Nginx4-1.png 903w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><figcaption>Locations\u306b\u2461\u3067\u4f5c\u6210\u3057\u305fLocation\u3092\u8a2d\u5b9a<\/figcaption><\/figure>\n\n\n\n<p>\u7d42\u308f\u3063\u305f\u3089\u300c\u5168\u822c\u8a2d\u5b9a\u300d\u3067\u300cEnable nginx\u300d\u306e\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u300c\u9069\u7528\u300d\u3092\u62bc\u4e0b\u3002<\/p>\n\n\n\n<p>\u6b63\u5e38\u306b\u8d77\u52d5\u3057\u305f\u3089\u53f3\u4e0a\u306e&#x25b6;\u304c\u9ec4\u7dd1\u306b\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u2463\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb\u3092\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u306e\u8a2d\u5b9a\u306780\u3001443\u30dd\u30fc\u30c8\u306e\u63a5\u7d9a\u3092\u8a31\u53ef\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-medium\"><a href=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb2.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" width=\"450\" height=\"188\" src=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb2-450x188.png\" alt=\"\" class=\"wp-image-764\" srcset=\"http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb2-450x188.png 450w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb2-1024x427.png 1024w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb2-768x320.png 768w, http:\/\/www.ranran.mydns.jp\/blog\/wp-content\/uploads\/2020\/10\/opnsense_WebGUI\u30d5\u30a1\u30a4\u30a2\u30fc\u30a6\u30a9\u30fc\u30eb2.png 1371w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/figure>\n\n\n\n<p>\u4e0a\u624b\u304f\u8a2d\u5b9a\u3067\u304d\u308c\u3070Opnsense\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u30d7\u30ed\u30ad\u30b7\u5148\u306e\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u25c6Nginx\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb \u300c\u30b7\u30b9\u30c6\u30e0&gt;\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2&gt;\u30d7\u30e9\u30b0\u30a4\u30f3\u300d\u3092\u9078\u629e \u25c6\u7ba1\u7406WebUI\u306e\u52d5\u4f5c\u30dd\u30fc\u30c8\u3092\u5909\u66f4 Nginx\u309280\u30fb443\u30dd\u30fc\u30c8\u3067\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u3001\u7ba1\u7406\u7528WebGUI\u306e\u30dd\u30fc\u30c8\u3068\u88ab\u3063\u3066\u3057\u307e [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51,38,46,50],"tags":[],"class_list":["post-707","post","type-post","status-publish","format-standard","hentry","category-lets-encrypt","category-linux","category-nginx","category-opnsense"],"_links":{"self":[{"href":"http:\/\/www.ranran.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ranran.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ranran.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ranran.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ranran.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=707"}],"version-history":[{"count":7,"href":"http:\/\/www.ranran.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/707\/revisions"}],"predecessor-version":[{"id":792,"href":"http:\/\/www.ranran.mydns.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/707\/revisions\/792"}],"wp:attachment":[{"href":"http:\/\/www.ranran.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ranran.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=707"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ranran.mydns.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}