{"id":2065,"date":"2024-04-05T16:30:10","date_gmt":"2024-04-05T07:30:10","guid":{"rendered":"https:\/\/www.rocher.kyoto.jp\/arbr\/?p=2065"},"modified":"2024-04-11T12:20:03","modified_gmt":"2024-04-11T03:20:03","slug":"%e8%87%aa%e5%ae%85%e7%94%a8%e9%80%9a%e7%9f%a5%e3%83%9e%e3%82%b7%e3%83%b3%e4%bd%9c%e6%88%905","status":"publish","type":"post","link":"https:\/\/www.rocher.kyoto.jp\/arbr\/?p=2065","title":{"rendered":"\u81ea\u5b85\u7528\u901a\u77e5\u30de\u30b7\u30f3\u4f5c\u6210(5)"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.rocher.kyoto.jp\/arbr\/?p=2039\" data-type=\"post\" data-id=\"2039\">\u524d\u56de<\/a>\u306e\u7d9a\u304d<\/p>\n\n\n\n<p>\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u304c\u3057\u3083\u3079\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u6b21\u306f\u5916\u90e8\u304b\u3089\u3057\u3083\u3079\u308b\u6307\u4ee4\u3092\u51fa\u3059\u7aef\u672b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3002\u547c\u3073\u51fa\u3057\u306f\u4e88\u7d04\u78ba\u8a8d\u306e\u305f\u3081\u306e\u81ea\u5b85\u7528\u901a\u77e5\u30de\u30b7\u30f3\u3068\u517c\u7528\u3002<\/p>\n\n\n\n<p>\u30a8\u30c3\u30b8\u691c\u51fa\u51e6\u7406\uff06\u7591\u4f3c\u7684\u306a\u4e26\u5217\u51e6\u7406\u306f<a href=\"https:\/\/www.rocher.kyoto.jp\/arbr\/?p=2053\" data-type=\"post\" data-id=\"2053\">\u3053\u3061\u3089<\/a>\u306b\u5927\u4f53\u307e\u3068\u3081\u305f\u611f\u3058\u3002<\/p>\n\n\n\n<p>\u30e1\u30a4\u30f3\u306e\u30eb\u30fc\u30d7(Arduino\u306eloop\u95a2\u6570)\u306f\u4e26\u884c\u51e6\u7406\u3059\u308b\u30eb\u30fc\u30d7(yoyakuCheckLoop,yobidashiCheckLoop)\u3092\u305d\u308c\u305e\u308c\u547c\u3073\u51fa\u3057yobidashiCheckLoop\u306e\u4e2d\u3067\u30dc\u30bf\u30f3\u304c\u62bc\u3055\u308c\u3066\u3044\u308b\u5224\u5b9a\u3092\u3057\u3066\u62bc\u3055\u308c\u3066\u3044\u305f\u3089\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8d8a\u3057\u306b\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u304c\u3057\u3083\u3079\u308bURL\u3092\u305f\u305f\u3044\u3066\u3057\u3083\u3079\u3089\u305b\u308b\u3002<\/p>\n\n\n\n<p>\u6700\u521d\u306fPOST\u3067\u53e9\u3053\u3046\u3068\u3057\u305f\u3051\u3069POST\u306e\u5f15\u6570\u9055\u3046\u305e\u307f\u305f\u3044\u306a\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u305f\u306e\u3067\u3068\u308a\u3044\u305d\u304eGET\u30e1\u30bd\u30c3\u30c9\uff08\uff15\u79d2\u3082\u8abf\u3079\u3066\u3044\u306a\u3044\uff09<\/p>\n\n\n\n<p>\u30e1\u30a4\u30f3\u306e\u30eb\u30fc\u30d7\u306e\u4e2d\u3067yobidashiCheckLoop\u3092\u547c\u3073\u51fa\u3057\u3002\u4e0b\u306b\u5f35\u3063\u305f\u4e2d\u306eyobidashiCheckLoop\u3067\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u306f<a href=\"https:\/\/www.rocher.kyoto.jp\/arbr\/?p=2053\" data-type=\"post\" data-id=\"2053\">\u3053\u3061\u3089<\/a>\u306b\u5927\u4f53\u307e\u3068\u3081\u305f\u611f\u3058\u3002\u3067\u3001execYobidashi(\u958b\u767a\u74b0\u5883\u306a\u3089execDevYobidashi)\u3067\u3001https\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u6295\u3052\u3066\u3044\u308b\u3060\u3051\u3002\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7684\u306a\u3082\u306e\u306f\u3064\u3051\u3066\u3044\u306a\u3044\u306e\u3067\u305d\u306e\u307e\u307e\u53e9\u3051\u308b\u3002<\/p>\n\n\n\n<p>\u4e00\u5fdc\u5168\u4f53<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-dark-gray-background-color has-text-color has-background has-link-color wp-elements-0a022fae5fefb68c332150778328bd77\"><code>#include &lt;ESP8266WiFi.h&gt;\n#include &lt;ESP8266HTTPClient.h&gt;\n#include &lt;CertStoreBearSSL.h&gt;\n#include &lt;time.h&gt;\n#include &lt;FS.h&gt;\n#include &lt;LittleFS.h&gt;\n#include &lt;WiFiClient.h&gt;\n\n#define DEVELOP\n\n#ifdef DEVELOP\n\/\/ \u898b\u3048\u3066\u3044\u308b\u3051\u3069\u5e97\u306e\u516c\u958bwifi\u306a\u306e\u3067\u6c17\u306b\u3057\u306a\u3044\n#ifndef STASSID\n#define STASSID \"rocher_guest\";\n#define STAPSK \"sd5ks86vn5nti\";\n#endif\n\nconst char *ssid = STASSID;\nconst char *pass = STAPSK;\n#endif  \/\/ DEVELOP\n\n#define INPUT_PIN 12\n#define LED_PIN 13\n\nBearSSL::CertStore certStore;\n\nvolatile bool pushed = false;\n\nunsigned long lastTimeYoyakuCheck;\nunsigned long lastTimeYobidashiCheck;\n\n#ifdef DEVELOP\nvoid connectDevWifi() {\n  \/\/ We start by connecting to a WiFi network\n  Serial.print(\"Connecting to \");\n  Serial.println(ssid);\n  WiFi.mode(WIFI_STA);\n  WiFi.begin(ssid, pass);\n\n  while (WiFi.status() != WL_CONNECTED) {\n    delay(500);\n    Serial.print(\".\");\n  }\n  Serial.println(\"\");\n\n  Serial.println(\"WiFi connected\");\n  Serial.println(\"IP address: \");\n  Serial.println(WiFi.localIP());\n}\n#else   \/\/ not develop\nvoid connectWifi() {\n  Serial.print(\"Connecting\");\n  WiFi.begin();\n  int i = 1;\n\n  while (WiFi.status() != WL_CONNECTED) {\n    if (i++ &gt; 20) {  \/\/ 10 seconds\n      Serial.println(\"Smart Config Start!\");\n      WiFi.mode(WIFI_STA);\n      WiFi.beginSmartConfig();\n      while (!WiFi.smartConfigDone()) {\n        delay(500);\n        Serial.print(\".\");\n      }\n      Serial.println(\"Smart Config Done!\");\n    }\n    delay(500);\n    Serial.print(\".\");\n  }\n}\n#endif  \/\/ DEVELOP\n\n\/\/ Set time via NTP, as required for x.509 validation\nvoid setClock() {\n  configTime(3 * 3600, 0, \"pool.ntp.org\", \"time.nist.gov\");\n\n  Serial.print(\"Waiting for NTP time sync: \");\n  time_t now = time(nullptr);\n  while (now &lt; 8 * 3600 * 2) {\n    delay(500);\n    Serial.print(\".\");\n    now = time(nullptr);\n  }\n  Serial.println(\"\");\n  struct tm timeinfo;\n  gmtime_r(&amp;now, &amp;timeinfo);\n  Serial.print(\"Current time: \");\n  Serial.print(asctime(&amp;timeinfo));\n}\n\nvoid IRAM_ATTR shopYobidashiCallback() {\n  pushed = true;\n}\n\nvoid setup() {\n  Serial.begin(115200);\n  Serial.println();\n\n  LittleFS.begin();\n#ifdef DEVELOP\n  connectDevWifi();\n#else\n  connectWifi();\n#endif  \/\/ DEVELOP\n\n  setClock();  \/\/ Required for X.509 validation\n\n  int numCerts = certStore.initCertStore(LittleFS, PSTR(\"\/certs.idx\"), PSTR(\"\/certs.ar\"));\n  Serial.printf(\"Number of CA certs read: %d\\n\", numCerts);\n  if (numCerts == 0) {\n    Serial.printf(\"No certs found. Did you run certs-from-mozilla.py and upload the LittleFS directory before running?\\n\");\n    return;\n  }\n\n  pinMode(INPUT_PIN, INPUT_PULLUP);\n  attachInterrupt(digitalPinToInterrupt(INPUT_PIN), shopYobidashiCallback, FALLING);\n  pinMode(LED_PIN, OUTPUT);\n\n  lastTimeYoyakuCheck = millis();\n  lastTimeYobidashiCheck = millis();\n}\n\nconst unsigned long yoyakuCheckInterval = 10000;\nvoid yoyakuCheckLoop() {\n  if ((millis() - lastTimeYoyakuCheck) &lt; yoyakuCheckInterval) {\n    return;\n  }\n  lastTimeYoyakuCheck = millis();\n\n  BearSSL::WiFiClientSecure *bear = new BearSSL::WiFiClientSecure();\n  bear-&gt;setCertStore(&amp;certStore);\n  HTTPClient https;\n  if (https.begin(*bear, \"https:\/\/mail.epea.co.jp\/api\/reserve_count\")) {\n    int httpCode = https.GET();\n    Serial.print(\"httpCode:\");\n    Serial.println(httpCode);\n    String payload = https.getString();\n    Serial.print(\"payload:\");\n    Serial.println(payload);\n\n    String zero = \"0\";\n    if (zero.equals(payload)) {\n      Serial.println(\"0\u4ef6\u3060\u3088\");\n      digitalWrite(LED_PIN, LOW);\n    } else {\n      \/\/ 0\u4ee5\u5916\u3060\u3068\u70b9\u706f\u3002\u30a8\u30e9\u30fc\u7b49\u3067\u5909\u306a\u5024\u304c\u8fd4\u3063\u3066\u304d\u305f\u3068\u304d\u3082\u3053\u3063\u3061\uff08\u30b9\u30c6\u30fc\u30bf\u30b9\u898b\u308b\u51e6\u7406\u7b49\u306f\u306a\u3044\u306e\u3067\u5927\u4f53\uff09\n      Serial.println(\"0\u4ef6\u3058\u3083\u306a\u3044\u3088\");\n      digitalWrite(LED_PIN, HIGH);\n    }\n  }\n\n  delete bear;\n}\n\n#ifdef DEVELOP\nvoid execDevYobidashi() {\n  WiFiClient client;\n  HTTPClient http;\n  if (http.begin(client, \"http:\/\/192.168.11.26\/yobidashi\")) {\n    int httpCode = http.GET();\n    Serial.print(\"httpCode:\");\n    Serial.println(httpCode);\n    String payload = http.getString();\n    Serial.print(\"payload:\");\n    Serial.println(payload);\n  }\n}\n#else\nvoid execDevYobidashi() {\n  BearSSL::WiFiClientSecure *bear = new BearSSL::WiFiClientSecure();\n  bear-&gt;setCertStore(&amp;certStore);\n  HTTPClient https;\n  if (https.begin(client, \"http:\/\/momoyama.epea.co.jp\/yobidashi\")) {\n    int httpCode = https.GET();\n    Serial.print(\"httpCode:\");\n    Serial.println(httpCode);\n    String payload = https.getString();\n    Serial.print(\"payload:\");\n    Serial.println(payload);\n  }\n  delete bear;\n}\n#endif  \/\/ DEVELOP\n\nconst unsigned long yobidashiCheckInterval = 100;\nvoid yobidashiCheckLoop() {\n  \/\/ \u30c1\u30a7\u30c3\u30af\u9593\u9694\u4ee5\u5185\u306a\u3089\n  if ((millis() - lastTimeYobidashiCheck) &lt; yobidashiCheckInterval) {\n    return;\n  }\n  lastTimeYobidashiCheck = millis();\n  \/\/ \u30dc\u30bf\u30f3\u62bc\u3055\u308c\u3066\u3044\u306a\u304b\u3063\u305f\u3089\u623b\u308b\n  if (!pushed) {\n    return;\n  }\n\n  \/\/ \u30c1\u30e3\u30bf\u30ea\u30f3\u30b0\u5b89\u5b9a\u5f85\u3061\uff08\u5f85\u3061\u6642\u9593\u306f\u5927\u4f53\uff09\n  delay(200);\n\n  \/\/ LOW\u304c100ms\u9593\u9694\u30673\u56de\u7d9a\u304f\u304b\n  for (int count = 0; count &lt; 3; count++) {\n    if (digitalRead(INPUT_PIN)) {\n      pushed = false;\n      return;\n    }\n    delay(100);\n  }\n\n  \/\/ \u5b9f\u51e6\u7406\n#ifdef DEVELOP\n  execDevYobidashi();\n#else\n  execYobidashi();\n#endif  \/\/ DEVELOP\n\n  pushed = false;\n}\n\nvoid loop() {\n  yoyakuCheckLoop();\n  yobidashiCheckLoop();\n}\n<\/code><\/pre>\n\n\n\n<p>\u7d9a\u3051\u3066\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u56de\u308a<\/p>\n\n\n\n<!--nextpage-->\n\n\n\n<p>nginx\u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3067\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u306eip\u306b\u98db\u3070\u3059\u3002<\/p>\n\n\n\n<p>\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u3092\u7f6e\u304f\u5834\u6240\u306f\u5e97\u3002\u547c\u3073\u51fa\u3057\u7528\u7aef\u672b\u306f\u5bb6\u306b\u7f6e\u304f\u3002\u53d6\u308a\u6025\u304e\u306f\u5bb6\u304b\u3089\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u3078\u306e\u901a\u4fe1\u304c\u901a\u308c\u3070\u3088\u3044\u3002\u5e97\u306b\u306fNTT\u30eb\u30fc\u30bf\u30fc\u306e\u4e0b\u306b\u3082\u3068\u3082\u3068docker\u306eletsencript(ssl)\u5bfe\u5fdc\u306anginx\u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u304c\u3044\u308b\u3002<a href=\"https:\/\/github.com\/jwilder\/docker-letsencrypt-nginx-proxy-companion\">\u3053\u3044\u3064<\/a>docker-letsencrypt-nginx-proxy-companion\u3002\u901a\u5e38\u306fnginx\u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u306e\u5f8c\u308d\u306bdocker\u306eweb\u30b5\u30fc\u30d0\u30fc\u306a\u30b3\u30f3\u30c6\u30ca\u3068\u3044\u3046\u69cb\u6210\u306b\u306a\u308b\u3082\u306e\u3067\u3001\uff08\u3042\u307e\u308a\u8a2d\u5b9a\u3092\u9811\u5f35\u3089\u306a\u3044\u306a\u3089\uff09web\u30b5\u30fc\u30d0\u30fc\u306a\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u3055\u3089\u306b\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u306b\u8ee2\u9001\u3059\u308b\u306e\u304c\u697d\u3002<\/p>\n\n\n\n<p>\u5bb6\u306e\u7aef\u672b(\u7121\u7dda)->\u5bb6\u306e\u7121\u7dda\u89aa\u6a5f->\u5bb6\u306eNTT\u30eb\u30fc\u30bf\u30fc ->\u30a4\u30f3\u30bf\u30fc\u30cd\u30c8\u56de\u7dda -> \u5e97\u306eNTT\u30eb\u30fc\u30bf\u30fc -> \u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7->web\u30b5\u30fc\u30d0\u30fc\u306a\u30b3\u30f3\u30c6\u30ca->\u7121\u7dda\u89aa\u6a5f->\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u901a\u4fe1\u7d4c\u8def\u3002<\/p>\n\n\n\n<p>\u3084\u3063\u305f\u3053\u3068\uff08\u3042\u3068\u304b\u3089\u66f8\u3044\u3066\u3044\u308b\u306e\u3067\u3082\u308c\u3042\u308b\u304b\u3082)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">DNS\u767b\u9332<\/h3>\n\n\n\n<p>\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u3092\u547c\u3073\u51fa\u3059\u30c9\u30e1\u30a4\u30f3\u306eA\u30ec\u30b3\u30fc\u30c9\u3092DNS\u306b\u767b\u9332\u3002\u5e97\u306f\u56fa\u5b9aip\u306f\u306a\u3044\u306e\u3067ddns\u3092\u4f7f\u7528\u3002ddns\u30b5\u30fc\u30d3\u30b9\u3068\u304b\u3082\u3042\u308b\u305d\u3046\u3060\u304c\u6614\u4f5c\u3063\u305f<a href=\"https:\/\/www.rocher.kyoto.jp\/arbr\/?p=1460\">aws\u3092\u4f7f\u7528\u3059\u308b\u3084\u3064<\/a>\u3067\u904b\u7528\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5e97\u306e\u30eb\u30fc\u30bf\u30fc\u304b\u3089\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30b7\u30ad\u30b5\u30fc\u30d0\u3078\u306eip\u30de\u30b9\u30ab\u30ec\u30fc\u30c9\u8a2d\u5b9a<\/h3>\n\n\n\n<p>80\u756a\u30dd\u30fc\u30c8\u3068443\u756a\u30dd\u30fc\u30c8\u304c\u5fc5\u8981\u3002\u74b0\u5883\u306b\u5fdc\u3058\u3066\u30d5\u30a1\u30a4\u30e4\u30a6\u30a9\u30fc\u30eb\u3082\u9069\u5b9c\u8a2d\u5b9a\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">docker\u53ca\u3073letsencript\u7528\u30b3\u30f3\u30c6\u30ca\u3092\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u57fa\u672c<a href=\"https:\/\/qiita.com\/fukuyama012\/items\/5d4390ae4a34ba477cef\">\u3053\u3061\u3089<\/a>\u306e\u307e\u307e\u3002\u3057\u3070\u3089\u304f\u66f4\u65b0\u3055\u308c\u3066\u3044\u306a\u305d\u3046\u306a\u3053\u3068\u306b\u6c17\u3065\u3044\u305f\u3002\u3071\u3063\u3068\u307fDupricated\u306b\u306a\u3063\u3066\u306a\u3055\u305d\u3046\u3060\u3051\u3069\u958b\u767a\u30b9\u30c6\u30fc\u30bf\u30b9\u78ba\u8a8d\u3057\u305f\u307b\u3046\u304c\u826f\u3044\u304b\u3082\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">web\u30b5\u30fc\u30d0\u30fc\u306a\u30b3\u30f3\u30c6\u30ca<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">compose\u30d5\u30a1\u30a4\u30eb<\/h4>\n\n\n\n<pre class=\"wp-block-code has-white-color has-dark-gray-background-color has-text-color has-background has-link-color wp-elements-84ed5e0a1ff86167427b8ad150a2d2bd\"><code>version: '3.3'\n\nservices:\n  front:\n    build: .\/front\n    restart: always\n    container_name: shop_momo_front\n    ports:\n      - 80\n    environment:\n      VIRTUAL_HOST: hoge.epea.co.jp\n      LETSENCRYPT_HOST: hoge.epea.co.jp\n      LETSENCRYPT_EMAIL: hoge@epea.co.jp\n    volumes:\n      - \/etc\/localtime:\/etc\/localtime:ro\n    networks:\n      - default\n      - proxy_default\n\nnetworks:\n  proxy_default:\n    external: true<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">docker\u30d5\u30a1\u30a4\u30eb<\/h4>\n\n\n\n<p>my_default.conf\u306b\u4e00\u90e8\u8a2d\u5b9a\u5206\u3051\u3066\u3044\u308b\u306e\u306f\u6df1\u3044\u610f\u5473\u306f\u306a\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-dark-gray-background-color has-text-color has-background has-link-color wp-elements-35abfbfd0662b3a0be9157c8cc8f0b63\"><code>FROM nginx\nCOPY default.conf \/etc\/nginx\/conf.d\/.\nRUN echo 'server_tokens off;\\n' \\\n> \/etc\/nginx\/conf.d\/my_default.conf<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">nginx\u306e\u8ee2\u9001\u8a2d\u5b9a(default.conf)<\/h4>\n\n\n\n<p>192.168.1.n\u306f\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u304c\u3064\u306a\u304c\u3063\u3066\u3044\u308b\u7121\u7dda\u89aa\u6a5f\u306ewan\u5074IP<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-dark-gray-background-color has-text-color has-background has-link-color wp-elements-43195fdaa3aac46a42cd703e7eea8beb\"><code># \u7121\u7dda\u30eb\u30fc\u30bf\u30fc\u89aa\u6a5f(192.168.1.n)\u306b\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u3078\u306e\u8ee2\u9001\u8a2d\u5b9a\u8ffd\u52a0\nserver {\n    listen       80;\n    server_name  momoyama.epea.co.jp;\n\n    location \/ {\n        proxy_pass http:\/\/192.168.1.n;\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    }\n}\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u7121\u7dda\u89aa\u6a5f\u306e\u8a2d\u5b9a<\/h4>\n\n\n\n<p>\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u304c\u56fa\u5b9aIP\u3058\u3083\u306a\u3044\u3068\u3084\u3084\u3053\u3057\u3044\u306e\u3067\u7121\u7ddaLAN\u5074IP\u3092DHCP\u3058\u3083\u306a\u304f\u3066\u56fa\u5b9a\u306b\u5909\u66f4\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u3001\u3084\u3063\u3066\u304d\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u306b\u632f\u308a\u5206\u3051\u308b\u3088\u3046\u306bip\u30de\u30b9\u30ab\u30ec\u30fc\u30c9\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3002<\/p>\n\n\n\n<p>\u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u304c\u8907\u6570\u51fa\u3066\u304d\u305f\u3068\u304d\u306fweb\u30b5\u30fc\u30d0\u30fc\u306a\u30b3\u30f3\u30c6\u30ca\u306eproxy_pass\u8a2d\u5b9a\u3067port\u3092\u5206\u3051\u3066\u3084\u3063\u3066\u3001ip\u30de\u30b9\u30ab\u30ec\u30fc\u30c9\u3067\u632f\u308a\u5206\u3051\u305f\u3089\u4f55\u3068\u304b\u306a\u308b\u306f\u305a\u3002<\/p>\n\n\n\n<p>URL\u304c\u96d1\u306a\u306e\u3067\u30d7\u30ed\u30ad\u30b7\u306e\u632f\u308a\u5206\u3051\u304c\u3042\u3068\u3067\u56f0\u308b\u304b\u3082\u3057\u308c\u306a\u3044\u3051\u3069\u3001\u4f7f\u3044\u306a\u304c\u3089\u8003\u3048\u308b\u3002\u547c\u3073\u51fa\u3057\u306e\u6a29\u9650\u7684\u306a\u3082\u306e\u306f\u4f55\u3082\u3064\u3051\u3066\u3044\u306a\u3044\u3051\u3069\u5fc5\u8981\u306a\u3089\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u7684\u306a\u3082\u306e\u306a\u308a\u3059\u308b\u304bnginx\u6bb5\u968e\u3067\u4f55\u304b\u3059\u308b\u3068\u304b\u304b\u306a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u306e\u7d9a\u304d \u30b9\u30bf\u30c3\u30af\u30c1\u30e3\u30f3\u304c\u3057\u3083\u3079\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u6b21\u306f\u5916\u90e8\u304b\u3089\u3057\u3083\u3079\u308b\u6307\u4ee4\u3092\u51fa\u3059\u7aef\u672b\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3002\u547c\u3073\u51fa\u3057\u306f\u4e88\u7d04\u78ba\u8a8d\u306e\u305f\u3081\u306e\u81ea\u5b85\u7528\u901a\u77e5\u30de\u30b7\u30f3\u3068\u517c\u7528\u3002 \u30a8\u30c3\u30b8\u691c\u51fa\u51e6\u7406\uff06\u7591\u4f3c\u7684\u306a\u4e26\u5217\u51e6\u7406\u306f\u3053\u3061\u3089\u306b\u5927\u4f53\u307e\u3068\u3081\u305f\u611f\u3058 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117],"tags":[123,132,135,133],"class_list":["post-2065","post","type-post","status-publish","format-standard","hentry","category-117","tag-esp","tag-esp-wroom-02","tag-m5stack","tag-133"],"_links":{"self":[{"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/posts\/2065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2065"}],"version-history":[{"count":7,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/posts\/2065\/revisions"}],"predecessor-version":[{"id":2077,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=\/wp\/v2\/posts\/2065\/revisions\/2077"}],"wp:attachment":[{"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rocher.kyoto.jp\/arbr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}