{"id":8554,"date":"2024-12-03T11:53:13","date_gmt":"2024-12-03T02:53:13","guid":{"rendered":"https:\/\/arakoki70.com\/?p=8554"},"modified":"2024-12-24T14:37:30","modified_gmt":"2024-12-24T05:37:30","slug":"nginx-proxy-%e3%82%ad%e3%83%a3%e3%83%83%e3%82%b7%e3%83%a5%e3%81%ae%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e5%90%8d","status":"publish","type":"post","link":"https:\/\/arakoki70.com\/?p=8554","title":{"rendered":"nginx proxy \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9"},"content":{"rendered":"<div style=\"background: #f5f5f5; padding: 10px; border: 2px solid #800000; text-align: center; box-shadow: 5px 5px 5px #aaa; font-size: 16px;\"><span style=\"font-size: 14pt;\"><strong><span style=\"font-size: 12pt;\">Web\u30b5\u30fc\u30d0\u30fc \u30b5\u30a4\u30c8\u306e\u7ba1\u7406<\/span><br \/>\r\nnginx Web\u30b5\u30fc\u30d0\u30fc<br \/>\r\nproxy_cache \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9<\/strong><\/span><\/div>\r\n<div>\u00a0<\/div>\r\n<div>nginx \u306e proxy_cache \u3092\u6b21\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/div>\r\n<pre><code class=\u201dhljs nginx\"><span class=\"hljs-attribute\">proxy_cache_path<\/span>      \/var\/cache\/nginx\/arakan60 levels=<span class=\"hljs-number\">2<\/span>:<span class=\"hljs-number\">2<\/span> keys_zone=arakan60:<span class=\"hljs-number\">30m<\/span> inactive=<span class=\"hljs-number\">2h<\/span> max_size=<span class=\"hljs-number\">768m<\/span>;\r\n<span class=\"hljs-attribute\">proxy_cache_key<\/span> <span class=\"hljs-string\">\"<span class=\"hljs-variable\">$scheme<\/span><span class=\"hljs-variable\">$proxy_host<\/span><span class=\"hljs-variable\">$request_uri<\/span>\"<\/span>;<\/code><\/pre>\r\n<div>\u3053\u306e\u5834\u5408\u3001\u3069\u306e\u3088\u3046\u306a\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u540d\u304c\u751f\u6210\u3055\u308c\u308b\u3067\u3057\u3087\u3046\u304b\uff1f<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u4ee5\u4e0b\u306b\u3001\u30d7\u30ed\u30ad\u30b7\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d1\u30b9\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u3064\u3044\u3066\u306e\u8abf\u67fb\u7d50\u679c\u3092\u307e\u3068\u3081\u305f\u3002<\/div>\r\n<div><!--more--><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\t<p>&nbsp;<\/p>\n\t<div align=\"center\" style=\"font-size:8pt;\">\u30b9\u30dd\u30f3\u30b5\u30fc \u30ea\u30f3\u30af<br \/>\n<!-- \t<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script> -->\n\t<!-- \u8a18\u4e8b\u30fb\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6-7 -->\n\t<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"1428770894\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n\t<script>\n\t(adsbygoogle = window.adsbygoogle || []).push({});\n\t<\/script>\n\t<amp-ad width=\"100vw\" height=\"320\"\n     type=\"adsense\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"1428770894\"\n     data-auto-format=\"rspv\"\n     data-full-width=\"\">\n\t <div overflow=\"\"><\/div>\n\t<\/amp-ad>\n\t<\/div>\n\t<p>&nbsp;<\/p>\n<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #c0c0c0; padding: 7px; background: #f5f5f5; border-radius: 8px; position: relative; top: 0px; font-family: Arial, Helvetica, sans-serif; font-size: 16px;\">\r\n<div><strong><span style=\"font-size: 14pt;\">\u3000\u76ee\u3000\u6b21<\/span><\/strong><\/div>\r\n<div style=\"margin-left: 20pt; line-height: 200%;\"><span style=\"color: magenta;\">1.\u3000<\/span><a href=\"#title1\"><strong>\u30b5\u30fc\u30d0\u30fc\u69cb\u6210\u3068\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u8a2d\u5b9a\u72b6\u6cc1<\/strong><\/a><br \/>\r\n<span style=\"color: magenta;\">2.\u3000<\/span><a href=\"#title2\"><strong>\u5b9f\u969b\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b<\/strong><\/a><br \/>\r\n<span style=\"color: magenta;\">3.\u3000<\/span><a href=\"#title3\"><strong>\u5b9f\u969b\u306b\u751f\u6210\u3055\u308c\u3066\u3044\u308b\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u306e\u78ba\u8a8d\u65b9\u6cd5<\/strong><\/a><br \/>\r\n<span style=\"color: magenta;\">4.\u3000<\/span><a href=\"#title4\"><strong>\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u306e\u30cf\u30c3\u30b7\u30e5\u5024\u751f\u6210<\/strong><\/a><br \/>\r\n<span style=\"color: magenta;\">5.\u3000<\/span><a href=\"#title5\"><strong>\u8a72\u5f53\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u3092\u8868\u793a\u3057\u3066\u307f\u308b<\/strong><\/a><br \/>\r\n<span style=\"color: magenta;\">6.\u3000<\/span><a href=\"#title6\"><strong>\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u8a08\u7b97\u3059\u308b\u305f\u3081\u306e Python\u30b9\u30af\u30ea\u30d7\u30c8<\/strong><\/a><\/div>\r\n<\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title1\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>1. \u30b5\u30fc\u30d0\u30fc\u69cb\u6210\u3068\u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u8a2d\u5b9a\u72b6\u6cc1<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306b Reverse Proxy Server \u3092\u7acb\u3066\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306bWeb\u30b5\u30fc\u30d0\u30fc\u3092\u914d\u7f6e\u3059\u308b\u69cb\u6210\u306b\u3057\u3066\u3044\u308b\u3002<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/fastcgi-cache_0011.png\" data-rel=\"lightbox-gallery-w0BTflkZ\" data-rl_title=\"fastcgi-cache_0011\" data-rl_caption=\"\" title=\"fastcgi-cache_0011\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8540\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/fastcgi-cache_0011.png\" alt=\"\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306b Reverse Proxy Server \u3092\u7acb\u3066\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306bWeb\u30b5\u30fc\u30d0\u30fc\u3092\u914d\u7f6e\u3059\u308b\u69cb\u6210\u306b\u3057\u3066\u3044\u308b\" width=\"800\" height=\"314\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u3067 proxy_cache \u304c\u4f7f\u308f\u308c\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306eWeb\u30b5\u30fc\u30d0\u30fc\u3067 fastcgi_cache \u304c\u4f7f\u308f\u308c\u308b\u8a2d\u5b9a\u3068\u306a\u3063\u3066\u3044\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u306e nginx.conf \u3067\u306e proxy_cache \u8a2d\u5b9a\u3002<\/div>\r\n<pre><code class=\u201dhljs nginx\"><span class=\"hljs-comment\"># proxy cache on arakan60.com<\/span>\r\n<span class=\"hljs-attribute\">proxy_cache_path<\/span>      \/var\/cache\/nginx\/arakan60 levels=<span class=\"hljs-number\">2<\/span>:<span class=\"hljs-number\">2<\/span> keys_zone=arakan60:<span class=\"hljs-number\">30m<\/span> inactive=<span class=\"hljs-number\">2h<\/span> max_size=<span class=\"hljs-number\">768m<\/span>;\r\n<span class=\"hljs-attribute\">proxy_cache_key<\/span> <span class=\"hljs-string\">\"<span class=\"hljs-variable\">$scheme<\/span><span class=\"hljs-variable\">$proxy_host<\/span><span class=\"hljs-variable\">$request_uri<\/span>\"<\/span>;<\/code><\/pre>\r\n<div>\u203b\uff1a\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u306e\u8a2d\u5b9a\u306b\u300c$proxy_host\u300d\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title2\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>2. \u5b9f\u969b\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u30ad\u30e3\u30c3\u30b7\u30e5\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u5b9f\u969b\u306e\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3092\u89b3\u5bdf\u3057\u3066\u307f\u308b\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>sudo find \/var\/cache\/nginx\/arakan60 -type f | head -n 10<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div><a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0111.png\" data-rel=\"lightbox-gallery-w0BTflkZ\" data-rl_title=\"proxy-cache_0111\" data-rl_caption=\"\" title=\"proxy-cache_0111\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8555\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0111.png\" alt=\"\u30ad\u30e3\u30c3\u30b7\u30e5\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u5b9f\u969b\u306e\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3092\u89b3\u5bdf\u3057\u3066\u307f\u308b\" width=\"800\" height=\"247\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u5168\u3066\u304c\u3001\/var\/cache\/nginx\/arakan60<strong><span style=\"color: #ff0000;\">\/ab\/cd\/<\/span><\/strong> \u306e\u3088\u3046\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306b\u306a\u3063\u3066\u304a\u308a\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u3001\u30cf\u30c3\u30b7\u30e5\u5024\u3092\u57fa\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2460\uff0e\u4fdd\u5b58\u5834\u6240\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u306e\u8a2d\u5b9a<\/div>\r\n<pre><code class=\u201dhljs nginx\"><span class=\"hljs-attribute\">proxy_cache_path<\/span> \/var\/cache\/nginx\/arakan60 levels=<span class=\"hljs-number\">2<\/span>:<span class=\"hljs-number\">2<\/span> keys_zone=arakan60:<span class=\"hljs-number\">30m<\/span> inactive=<span class=\"hljs-number\">2h<\/span> max_size=<span class=\"hljs-number\">768m<\/span>;<\/code><\/pre>\r\n<div>\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u306f\u300cproxy_cache_path\u300d\u3067\u6307\u5b9a\u3055\u308c\u305f\u300c\/var\/cache\/nginx\/arakan60\u300d\u306b\u4fdd\u5b58\u3055\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u300clevels=2:2\u300d\u306f\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3059\u308b\u305f\u3081\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3092\u793a\u3057\u3066\u304a\u308a\u3001<br \/>\r\n\u3000\/var\/cache\/nginx\/arakan60<strong><span style=\"color: #ff0000;\">\/ab\/cd\/<\/span> <\/strong>\u306e\u3088\u3046\u306b<br \/>\r\n1\u968e\u5c64\u76ee\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c2\u6587\u5b57\u30012\u968e\u5c64\u76ee\u30822\u6587\u5b57\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u6307\u5b9a\u306b\u306a\u3063\u3066\u3044\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u5b9f\u969b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3002<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0121.png\" data-rel=\"lightbox-gallery-w0BTflkZ\" data-rl_title=\"proxy-cache_0121\" data-rl_caption=\"\" title=\"proxy-cache_0121\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8556\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0121.png\" alt=\"\u5b9f\u969b\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\" width=\"800\" height=\"98\" \/><\/a><\/div>\r\n<div>\u30cf\u30c3\u30b7\u30e5\u5024\u306e\u672b\u5c3e2\u6841\u76ee\u304b\u30892\u6587\u5b57\u304c1\u968e\u5c64\u76ee\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u306b\u3001\u30cf\u30c3\u30b7\u30e5\u5024\u306e\u672b\u5c3e4\u6841\u76ee\u304b\u3089\u306e2\u6841\u304c2\u968e\u5c64\u76ee\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u2461\uff0e\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u306e\u8a2d\u5b9a<\/div>\r\n<pre><code class=\u201dhljs nginx\"><span class=\"hljs-attribute\">proxy_cache_key<\/span> <span class=\"hljs-string\">\"<span class=\"hljs-variable\">$scheme<\/span><span class=\"hljs-variable\">$proxy_host<\/span><span class=\"hljs-variable\">$request_uri<\/span>\"<\/span>;<\/code><\/pre>\r\n<div>$scheme: http \u307e\u305f\u306f https<br \/>\r\n$proxy_host: proxy_pass \u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3067\u6307\u5b9a\u3055\u308c\u305f\u4e0a\u6d41\u30b5\u30fc\u30d0\u30fc\u306e\u30db\u30b9\u30c8\u90e8\u5206<br \/>\r\n$request_uri: \u30af\u30a8\u30ea\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u542b\u3080\u30ea\u30af\u30a8\u30b9\u30c8URI\uff08\u4f8b: \/?p=15602\uff09<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; color: #ffffff; background: #191970; border-radius: 5px; position: relative; top: 0px;\">\u300c$proxy_host\u300d\u306b\u3064\u3044\u3066\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<p>1. \u76f4\u63a5\u7684\u306a\u30db\u30b9\u30c8\u6307\u5b9a\u306e\u5834\u5408<br \/>\r\n\u4f8b:proxy_pass http:\/\/example.com;<br \/>\r\n\u3053\u306e\u5834\u5408\u3001$proxy_host \u306b\u306f example.com \u304c\u8a2d\u5b9a\u3055\u308c\u308b\u3002<\/p>\r\n<p>2. \u5909\u6570\u3092\u4f7f\u7528\u3057\u3066\u6307\u5b9a\u3057\u305f\u5834\u5408<br \/>\r\n\u4f8b:set $upstream_host example.com;<br \/>\r\n\u3000\u3000proxy_pass http:\/\/$upstream_host;<br \/>\r\n\u3053\u306e\u5834\u5408\u3001$proxy_host \u306b\u306f example.com \u304c\u8a2d\u5b9a\u3055\u308c\u308b\u3002<\/p>\r\n<p>3. IP \u30a2\u30c9\u30ec\u30b9\u3092\u76f4\u63a5\u6307\u5b9a\u3057\u305f\u5834\u5408<br \/>\r\n\u4f8b:proxy_pass http:\/\/192.168.1.1:8080;<br \/>\r\n\u3053\u306e\u5834\u5408\u3001$proxy_host \u306b\u306f 192.168.1.1:8080 \u304c\u8a2d\u5b9a\u3055\u308c\u308b\u3002<\/p>\r\n<div>\u00a0<\/div>\r\n<div>\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u3067\u306e proxy_pass \u306e\u8a2d\u5b9a\u3002<\/div>\r\n<pre><code class=\u201dhljs nginx\">    <span class=\"hljs-attribute\">location<\/span> \/ {\r\n        <span class=\"hljs-attribute\">proxy_pass<\/span> http:\/\/192.168.11.106;\r\n    }<\/code><\/pre>\r\n<div>\u6b21\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u3042\u3063\u305f\u5834\u5408\uff1a<br \/>\r\nhttps:\/\/arakan60.com\/?p=15602<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\uff1a<br \/>\r\n<strong><span style=\"color: #ff0000;\">https192.168.11.106<\/span><\/strong>\/?p=15602<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u540d\u306f\u3001\u3053\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u306e\u30cf\u30c3\u30b7\u30e5\u5024\u3092\u57fa\u306b\u3057\u3066\u6c7a\u5b9a\u3055\u308c\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title3\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>3. \u5b9f\u969b\u306b\u751f\u6210\u3055\u308c\u3066\u3044\u308b\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u306e\u78ba\u8a8d\u65b9\u6cd5<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u30ad\u30e3\u30c3\u30b7\u30e5\u3055\u308c\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30ad\u30fc\u3092\u300c<strong>\u30ed\u30b0\u306b\u51fa\u529b\u3059\u308b\u8a2d\u5b9a\u3092\u4e00\u6642\u7684\u306b\u8ffd\u52a0<\/strong>\u300d\u3059\u308b\u3053\u3068\u3067\u3001\u6b63\u78ba\u306a\u30ad\u30fc\u304c\u78ba\u8a8d\u3067\u304d\u308b\u3002<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\/etc\/nginx\/nginx.conf \u306e\u5909\u66f4\u3002<\/div>\r\n<pre><code class=\u201dhljs nginx\"><span class=\"hljs-attribute\">log_format<\/span> cache_debug <span class=\"hljs-string\">'<span class=\"hljs-variable\">$scheme<\/span><span class=\"hljs-variable\">$proxy_host<\/span><span class=\"hljs-variable\">$request_uri<\/span>'<\/span>;\r\n<span class=\"hljs-attribute\">access_log<\/span> \/var\/log\/nginx\/cache_debug.log cache_debug;<\/code><\/pre>\r\n<div><strong><span style=\"color: #ff00ff;\">\u203b\uff1a<\/span>\u300c<span style=\"color: #ff0000;\">log_format<\/span>\u300d\u306f\u300c<span style=\"color: #ff0000;\">proxy_cache_key<\/span>\u300d\u306e\u8a2d\u5b9a\u5185\u5bb9\u3068\u540c\u3058\u306b\u3059\u308b\u4e8b\uff01\u3002<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u3053\u306e\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u3066 Nginx \u3092\u518d\u8d77\u52d5\u5f8c\u3001\u5bfe\u8c61\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u751f\u6210\u3055\u308c\u305f\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u3092\u30ed\u30b0\u304b\u3089\u78ba\u8a8d\u3059\u308b\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>tail -f \/var\/log\/nginx\/cache_debug.log<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div><a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0211.png\" data-rel=\"lightbox-gallery-w0BTflkZ\" data-rl_title=\"proxy-cache_0211\" data-rl_caption=\"\" title=\"proxy-cache_0211\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8557\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0211.png\" alt=\"tail -f \/var\/log\/nginx\/cache_debug.log\" width=\"800\" height=\"119\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u304c\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u308b\u3002<br \/>\r\n<strong><span style=\"color: #ff0000;\">https192.168.11.106<\/span><\/strong>\/?p=15602<\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title4\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>4. \u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u306e\u30cf\u30c3\u30b7\u30e5\u5024\u751f\u6210<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u6b21\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u3092\u3001hash\u95a2\u6570\u3092\u4f7f\u3063\u3066 MD5 \u3067 hash\u5024\u3092\u751f\u6210\u3057\u3066\u307f\u308b\u3002<br \/>\r\nhttpGETarakan60.com\/?p=15602<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>python -c 'import hashlib; print(hashlib.md5(\"<span style=\"color: #ff0000;\">https192.168.11.106<\/span>\/?p=15602\".encode(\"utf-8\")).hexdigest())'<br \/>\r\n<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div><a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0311.png\" data-rel=\"lightbox-gallery-w0BTflkZ\" data-rl_title=\"proxy-cache_0311\" data-rl_caption=\"\" title=\"proxy-cache_0311\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8558\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0311.png\" alt=\"\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u3092\u3001hash\u95a2\u6570\u3092\u4f7f\u3063\u3066 MD5 \u3067 hash\u5024\u3092\u751f\u6210\u3057\u3066\u307f\u308b\" width=\"800\" height=\"65\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u751f\u6210\u3055\u308c\u305f\u30cf\u30c3\u30b7\u30e5\u5024\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>48c1e70d4affe2c1d0dd1cde44370e6b<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u5f97\u3089\u308c\u305f\u30cf\u30c3\u30b7\u30e5\u5024\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u7d44\u307f\u7acb\u3066\u3066\u307f\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\u3002<\/div>\r\n<div><a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0321.png\" data-rel=\"lightbox-gallery-w0BTflkZ\" data-rl_title=\"proxy-cache_0321\" data-rl_caption=\"\" title=\"proxy-cache_0321\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8559\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0321.png\" alt=\"\u5f97\u3089\u308c\u305f\u30cf\u30c3\u30b7\u30e5\u5024\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3068\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u7d44\u307f\u7acb\u3066\u3066\u307f\u308b\" width=\"800\" height=\"105\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div id=\"title5\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>5. \u8a72\u5f53\u306e\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u3092\u8868\u793a\u3057\u3066\u307f\u308b<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>find \u30b3\u30de\u30f3\u30c9\u3067\u306e\u8868\u793a\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>sudo find \/var\/cache\/nginx\/arakan60 -name 48c1e70d4affe2c1d0dd1cde44370e6b 2&gt; \/dev\/null<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div><a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0411.png\" data-rel=\"lightbox-gallery-w0BTflkZ\" data-rl_title=\"proxy-cache_0411\" data-rl_caption=\"\" title=\"proxy-cache_0411\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8560\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0411.png\" alt=\"&lt;a href=&quot;https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0421.png&quot;&gt;&lt;img class=&quot;alignnone size-full wp-image-8561&quot; src=&quot;https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0421.png&quot; alt=&quot;find \u30b3\u30de\u30f3\u30c9\u3067\u306e\u8868\u793a&quot; width=&quot;800&quot; height=&quot;136&quot; \/&gt;&lt;\/a&gt;\" width=\"800\" height=\"69\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>ls \u30b3\u30de\u30f3\u30c9\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8868\u793a\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>sudo ls -la \/var\/cache\/nginx\/arakan60\/6b\/0e\/<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div><a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0421.png\" data-rel=\"lightbox-gallery-w0BTflkZ\" data-rl_title=\"proxy-cache_0421\" data-rl_caption=\"\" title=\"proxy-cache_0421\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8561 size-full\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0421.png\" alt=\"ls \u30b3\u30de\u30f3\u30c9\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u8868\u793a\" width=\"800\" height=\"136\" \/><\/a><\/div>\r\n<div id=\"title6\">\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"border: 1px solid #800000; padding: 5px 10px 3px 10px; background: #c5ff88;\"><strong>6. \u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u8a08\u7b97\u3059\u308b\u305f\u3081\u306e Python\u30b9\u30af\u30ea\u30d7\u30c8<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u6b63\u78ba\u306a\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u3092\u8a08\u7b97\u3059\u308b\u305f\u3081\u306b\u3001Python\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u3092\u5b9a\u7fa9\u3057\u3001MD5 \u30cf\u30c3\u30b7\u30e5\u5024\u3092\u672b\u5c3e\u304b\u3089\u5206\u5272\u3057\u3066\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3092\u4f5c\u6210\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u3002\uff08\u540d\u524d\u3092 hash-value_01.py \u3068\u3057\u305f\u3002\uff09<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0511.png\" data-rel=\"lightbox-gallery-w0BTflkZ\" data-rl_title=\"proxy-cache_0511\" data-rl_caption=\"\" title=\"proxy-cache_0511\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8562\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0511.png\" alt=\"\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30b9\u3092\u8a08\u7b97\u3059\u308b\u305f\u3081\u306e Python\u30b9\u30af\u30ea\u30d7\u30c8\" width=\"626\" height=\"452\" \/><\/a><\/div>\r\n<pre><code class=\u201dhljs python\"><span class=\"hljs-comment\"># MD5\u30cf\u30c3\u30b7\u30e5\u306e\u751f\u6210<\/span>\r\n<span class=\"hljs-keyword\">import<\/span> hashlib\r\n\r\n<span class=\"hljs-comment\"># \u30ad\u30e3\u30c3\u30b7\u30e5\u30ad\u30fc\u3092\u5b9a\u7fa9<\/span>\r\ncache_key = <span class=\"hljs-string\">\"https192.168.11.106\/?p=15602\"<\/span>\r\n\r\n<span class=\"hljs-comment\"># MD5\u30cf\u30c3\u30b7\u30e5\u5024\u3092\u8a08\u7b97<\/span>\r\nhash_value = hashlib.md5(cache_key.encode(<span class=\"hljs-string\">'utf-8'<\/span>)).hexdigest()\r\n\r\n<span class=\"hljs-comment\"># level1: \u30cf\u30c3\u30b7\u30e5\u5024\u306e\u672b\u5c3e\u304b\u30892\u6587\u5b57\u3092\u53d6\u5f97[start:stop]<\/span>\r\nlevel1 = hash_value[<span class=\"hljs-number\">-2<\/span>:]\r\n\r\n<span class=\"hljs-comment\"># level2: \u30cf\u30c3\u30b7\u30e5\u5024\u306e\u672b\u5c3e\u306e4\u6841\u76ee\u304b\u30892\u6587\u5b57\u3092\u53d6\u5f97[start:stop]<\/span>\r\nlevel2 = hash_value[<span class=\"hljs-number\">-4<\/span>:<span class=\"hljs-number\">-2<\/span>]\r\n\r\n<span class=\"hljs-comment\"># \u7d50\u679c\u3092\u51fa\u529b<\/span>\r\nprint(<span class=\"hljs-string\">\"MD5\u30cf\u30c3\u30b7\u30e5\u5024:\"<\/span>, hash_value)\r\nprint(<span class=\"hljs-string\">\"level1 (2\u6841):\"<\/span>, level1)\r\nprint(<span class=\"hljs-string\">\"level2 (2\u6841):\"<\/span>, level2)\r\n\r\n<span class=\"hljs-comment\"># \u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306e\u7d44\u307f\u7acb\u3066<\/span>\r\ncache_path = <span class=\"hljs-string\">f\"\/var\/cache\/nginx\/arakan60\/<span class=\"hljs-subst\">{level1}<\/span>\/<span class=\"hljs-subst\">{level2}<\/span>\/<span class=\"hljs-subst\">{hash_value}<\/span>\"<\/span>\r\nprint(<span class=\"hljs-string\">\"\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9:\"<\/span>, cache_path)<\/code><\/pre>\r\n<div>\u00a0<\/div>\r\n<div>Python\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u3002<\/div>\r\n<div style=\"border: 1px solid #4169e1; padding: 5px 10px 3px 10px; background: #f0f8ff; border-radius: 5px; position: relative; top: 0px;\"><strong>python hash-value_01.py<\/strong><\/div>\r\n<div>\u00a0<\/div>\r\n<div>Python\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u7d50\u679c\u3002<br \/>\r\n<a href=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0521.png\" data-rel=\"lightbox-gallery-w0BTflkZ\" data-rl_title=\"proxy-cache_0521\" data-rl_caption=\"\" title=\"proxy-cache_0521\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8563\" src=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0521.png\" alt=\"Python\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u7d50\u679c\" width=\"800\" height=\"127\" \/><\/a><\/div>\r\n<div>\u00a0<\/div>\r\n<div>MD5\u30cf\u30c3\u30b7\u30e5\u5024: 48c1e70d4affe2c1d0dd1cde44370e6b<br \/>\r\nlevel1 (2\u6841): 6b<br \/>\r\nlevel2 (2\u6841): 0e<br \/>\r\n\u30ad\u30e3\u30c3\u30b7\u30e5\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9: \/var\/cache\/nginx\/arakan60\/6b\/0e\/48c1e70d4affe2c1d0dd1cde44370e6b<\/div>\r\n<div>\u00a0<\/div>\r\n<div>\u00a0<\/div>\r\n<div style=\"text-align: right;\">\u4ee5\u4e0a\u3002<br \/>\r\n(2024.12.03)<\/div>\r\n<div style=\"clear: both;\">\u00a0<\/div>\r\n<div>\t<p>&nbsp;<\/p>\n\t<div align=\"center\" style=\"font-size:8pt;\">\u30b9\u30dd\u30f3\u30b5\u30fc \u30ea\u30f3\u30af<br \/>\n<!-- \t<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script> -->\n\t<!-- \u8a18\u4e8b\u30fb\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6-7 -->\n\t<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"1428770894\"\n     data-ad-format=\"auto\"\n     data-full-width-responsive=\"true\"><\/ins>\n\t<script>\n\t(adsbygoogle = window.adsbygoogle || []).push({});\n\t<\/script>\n\t<amp-ad width=\"100vw\" height=\"320\"\n     type=\"adsense\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"1428770894\"\n     data-auto-format=\"rspv\"\n     data-full-width=\"\">\n\t <div overflow=\"\"><\/div>\n\t<\/amp-ad>\n\t<\/div>\n\n\t<p>&nbsp;<\/p>\n\n\t<p align=\"center\">\n\t<amp-social-share type=\"email\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"facebook\" data-param-app_id=\"131027923993169\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"linkedin\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"pinterest\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"tumblr\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"twitter\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"whatsapp\"><\/amp-social-share>\n\t&nbsp;<amp-social-share type=\"line\"><\/amp-social-share>\n\t<\/p>\n\n\t<p>&nbsp;<\/p>\n\t\n\t<!-- \u95a2\u9023\u30fb\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6 kanren-70 -->\n\t<div align=\"center\">\n\t\n\t<ins class=\"adsbygoogle\"\n     style=\"display:block\"\n     data-ad-format=\"autorelaxed\"\n     data-ad-client=\"ca-pub-3816629014893825\"\n     data-ad-slot=\"8839675487\"><\/ins>\n\t<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n\t<\/script>\n\t\n\t<amp-ad width=\"100vw\" height=\"320\"\n\t\ttype=\"adsense\"\n\t\tdata-ad-client=\"ca-pub-3816629014893825\"\n\t\tdata-ad-slot=\"8839675487\"\n\t\tdata-auto-format=\"mcrspv\"\n\t\tdata-full-width=\"\">\n\t\t<div overflow=\"\"><\/div>\n\t<\/amp-ad>\n\t\n\t<\/div>\n\t\n\t<div> <\/div>\n\n\t<p>&nbsp;<\/p>\n<\/div>\r\n<div>\u00a0<\/div>","protected":false},"excerpt":{"rendered":"Web\u30b5\u30fc\u30d0\u30fc \u30b5\u30a4\u30c8\u306e\u7ba1\u7406 nginx Web\u30b5\u30fc\u30d0\u30fc proxy_cache \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9 \u00a0 nginx \u306e proxy_cache \u3092\u6b21\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002","protected":false},"author":1,"featured_media":8555,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-8554","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-02sevunyou"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>nginx proxy \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9 - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/arakoki70.com\/?p=8554\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"nginx proxy \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9 - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c\" \/>\n<meta property=\"og:description\" content=\"Web\u30b5\u30fc\u30d0\u30fc \u30b5\u30a4\u30c8\u306e\u7ba1\u7406 nginx Web\u30b5\u30fc\u30d0\u30fc proxy_cache \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9 \u00a0 nginx \u306e proxy_cache \u3092\u6b21\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/arakoki70.com\/?p=8554\" \/>\n<meta property=\"og:site_name\" content=\"\u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-03T02:53:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-24T05:37:30+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0111.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"247\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"tacsan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hermione2207\" \/>\n<meta name=\"twitter:site\" content=\"@hermione2207\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"tacsan\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"12\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8554#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8554\"},\"author\":{\"name\":\"tacsan\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#\\\/schema\\\/person\\\/d5fdbdb63e731d3f2d43880ccade4451\"},\"headline\":\"nginx proxy \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9\",\"datePublished\":\"2024-12-03T02:53:13+00:00\",\"dateModified\":\"2024-12-24T05:37:30+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8554\"},\"wordCount\":232,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#\\\/schema\\\/person\\\/d5fdbdb63e731d3f2d43880ccade4451\"},\"image\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8554#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/proxy-cache_0111.png\",\"articleSection\":[\"02 \u30b5\u30fc\u30d0\u306e\u904b\u7528\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/arakoki70.com\\\/?p=8554#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8554\",\"url\":\"https:\\\/\\\/arakoki70.com\\\/?p=8554\",\"name\":\"nginx proxy \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9 - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8554#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8554#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/proxy-cache_0111.png\",\"datePublished\":\"2024-12-03T02:53:13+00:00\",\"dateModified\":\"2024-12-24T05:37:30+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8554#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/arakoki70.com\\\/?p=8554\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8554#primaryimage\",\"url\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/proxy-cache_0111.png\",\"contentUrl\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/proxy-cache_0111.png\",\"width\":800,\"height\":247,\"caption\":\"\u30ad\u30e3\u30c3\u30b7\u30e5\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u5b9f\u969b\u306e\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3092\u89b3\u5bdf\u3057\u3066\u307f\u308b\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/?p=8554#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/arakoki70.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"nginx proxy \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#website\",\"url\":\"https:\\\/\\\/arakoki70.com\\\/\",\"name\":\"\u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c\",\"description\":\"Around 70&#039;s \u30d6\u30ed\u30b0\u3078\u306e\u8a18\u4e8b\u6295\u7a3f\u304c\u751f\u6d3b\u76ee\u6a19\u306b \u30fb\u30fb\u30fb \u307e\u3060\u307e\u3060\u8f1d\u304f\",\"publisher\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#\\\/schema\\\/person\\\/d5fdbdb63e731d3f2d43880ccade4451\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/arakoki70.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/arakoki70.com\\\/#\\\/schema\\\/person\\\/d5fdbdb63e731d3f2d43880ccade4451\",\"name\":\"tacsan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/raspberry-toumei_4.png\",\"url\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/raspberry-toumei_4.png\",\"contentUrl\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/raspberry-toumei_4.png\",\"width\":80,\"height\":102,\"caption\":\"tacsan\"},\"logo\":{\"@id\":\"https:\\\/\\\/arakoki70.com\\\/wp-content\\\/uploads\\\/2019\\\/12\\\/raspberry-toumei_4.png\"},\"sameAs\":[\"https:\\\/\\\/arakoki70.com\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"nginx proxy \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9 - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/arakoki70.com\/?p=8554","og_locale":"ja_JP","og_type":"article","og_title":"nginx proxy \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9 - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","og_description":"Web\u30b5\u30fc\u30d0\u30fc \u30b5\u30a4\u30c8\u306e\u7ba1\u7406 nginx Web\u30b5\u30fc\u30d0\u30fc proxy_cache \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9 \u00a0 nginx \u306e proxy_cache \u3092\u6b21\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002","og_url":"https:\/\/arakoki70.com\/?p=8554","og_site_name":"\u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","article_published_time":"2024-12-03T02:53:13+00:00","article_modified_time":"2024-12-24T05:37:30+00:00","og_image":[{"width":800,"height":247,"url":"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0111.png","type":"image\/png"}],"author":"tacsan","twitter_card":"summary_large_image","twitter_creator":"@hermione2207","twitter_site":"@hermione2207","twitter_misc":{"\u57f7\u7b46\u8005":"tacsan","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"12\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/arakoki70.com\/?p=8554#article","isPartOf":{"@id":"https:\/\/arakoki70.com\/?p=8554"},"author":{"name":"tacsan","@id":"https:\/\/arakoki70.com\/#\/schema\/person\/d5fdbdb63e731d3f2d43880ccade4451"},"headline":"nginx proxy \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9","datePublished":"2024-12-03T02:53:13+00:00","dateModified":"2024-12-24T05:37:30+00:00","mainEntityOfPage":{"@id":"https:\/\/arakoki70.com\/?p=8554"},"wordCount":232,"commentCount":0,"publisher":{"@id":"https:\/\/arakoki70.com\/#\/schema\/person\/d5fdbdb63e731d3f2d43880ccade4451"},"image":{"@id":"https:\/\/arakoki70.com\/?p=8554#primaryimage"},"thumbnailUrl":"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0111.png","articleSection":["02 \u30b5\u30fc\u30d0\u306e\u904b\u7528"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/arakoki70.com\/?p=8554#respond"]}]},{"@type":"WebPage","@id":"https:\/\/arakoki70.com\/?p=8554","url":"https:\/\/arakoki70.com\/?p=8554","name":"nginx proxy \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9 - \u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","isPartOf":{"@id":"https:\/\/arakoki70.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/arakoki70.com\/?p=8554#primaryimage"},"image":{"@id":"https:\/\/arakoki70.com\/?p=8554#primaryimage"},"thumbnailUrl":"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0111.png","datePublished":"2024-12-03T02:53:13+00:00","dateModified":"2024-12-24T05:37:30+00:00","breadcrumb":{"@id":"https:\/\/arakoki70.com\/?p=8554#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/arakoki70.com\/?p=8554"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/arakoki70.com\/?p=8554#primaryimage","url":"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0111.png","contentUrl":"https:\/\/arakoki70.com\/wp-content\/uploads\/2024\/12\/proxy-cache_0111.png","width":800,"height":247,"caption":"\u30ad\u30e3\u30c3\u30b7\u30e5\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u5b9f\u969b\u306e\u30d5\u30a1\u30a4\u30eb\u3084\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u9020\u3092\u89b3\u5bdf\u3057\u3066\u307f\u308b"},{"@type":"BreadcrumbList","@id":"https:\/\/arakoki70.com\/?p=8554#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/arakoki70.com\/"},{"@type":"ListItem","position":2,"name":"nginx proxy \u30ad\u30e3\u30c3\u30b7\u30e5\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u30d1\u30b9"}]},{"@type":"WebSite","@id":"https:\/\/arakoki70.com\/#website","url":"https:\/\/arakoki70.com\/","name":"\u30a2\u30e9\u30b3\u30ad\u304b\u3089\u306e Raspberry Pi \u96fb\u5b50\u5de5\u4f5c","description":"Around 70&#039;s \u30d6\u30ed\u30b0\u3078\u306e\u8a18\u4e8b\u6295\u7a3f\u304c\u751f\u6d3b\u76ee\u6a19\u306b \u30fb\u30fb\u30fb \u307e\u3060\u307e\u3060\u8f1d\u304f","publisher":{"@id":"https:\/\/arakoki70.com\/#\/schema\/person\/d5fdbdb63e731d3f2d43880ccade4451"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/arakoki70.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/arakoki70.com\/#\/schema\/person\/d5fdbdb63e731d3f2d43880ccade4451","name":"tacsan","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/arakoki70.com\/wp-content\/uploads\/2019\/12\/raspberry-toumei_4.png","url":"https:\/\/arakoki70.com\/wp-content\/uploads\/2019\/12\/raspberry-toumei_4.png","contentUrl":"https:\/\/arakoki70.com\/wp-content\/uploads\/2019\/12\/raspberry-toumei_4.png","width":80,"height":102,"caption":"tacsan"},"logo":{"@id":"https:\/\/arakoki70.com\/wp-content\/uploads\/2019\/12\/raspberry-toumei_4.png"},"sameAs":["https:\/\/arakoki70.com\/"]}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/posts\/8554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8554"}],"version-history":[{"count":0,"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/posts\/8554\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=\/wp\/v2\/media\/8555"}],"wp:attachment":[{"href":"https:\/\/arakoki70.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arakoki70.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}