{"id":741,"date":"2020-06-08T23:46:33","date_gmt":"2020-06-08T14:46:33","guid":{"rendered":"https:\/\/medicalfields.jp\/blog\/?p=741"},"modified":"2020-06-08T23:46:34","modified_gmt":"2020-06-08T14:46:34","slug":"conoha%e3%81%ae%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%81%a7http%e3%81%ae%e3%83%98%e3%83%ab%e3%82%b9%e3%83%a2%e3%83%8b%e3%82%bf%e3%83%bc%e3%81%8c%e3%81%86%e3%81%be","status":"publish","type":"post","link":"https:\/\/medicalfields.jp\/blog\/vps\/conoha%e3%81%ae%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%81%a7http%e3%81%ae%e3%83%98%e3%83%ab%e3%82%b9%e3%83%a2%e3%83%8b%e3%82%bf%e3%83%bc%e3%81%8c%e3%81%86%e3%81%be\/","title":{"rendered":"Conoha\u306e\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u3067HTTP\u306e\u30d8\u30eb\u30b9\u30e2\u30cb\u30bf\u30fc\u304c\u3046\u307e\u304f\u52d5\u4f5c\u3057\u306a\u3044"},"content":{"rendered":"\n<p>\u5f53\u793e\u306fNginx\u3067Conoha\u306e\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002<\/p>\n<p>\u4eca\u307e\u3067\u306fPING\u3067\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3063\u3066\u3044\u305f\u306e\u3060\u304c\u3001Nginx\u306b\u969c\u5bb3\u304c\u51fa\u305f\u969b\u306b\u3001Ping\u3060\u3068\u4e88\u5099\u30b5\u30fc\u30d0\u30fc\u306eNginx\u30c7\u30fc\u30e2\u30f3\u304c\u843d\u3061\u305f\u969b\u306b\u3001\u3046\u307e\u3044\u3053\u3068\u30d0\u30e9\u30f3\u30b7\u30f3\u30b0\u51fa\u6765\u306a\u304f\u3066\u3001\u969c\u5bb3\u304c\u767a\u751f\u3057\u305f\u306e\u3067\u3001HTTP\u306e\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u306b\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n<p>\u3067\u3082\u3046\u307e\u3044\u3053\u3068\u884c\u304b\u306a\u3044<\/p>\n<p>\u539f\u56e0\u306fHTTPS\u3067\u3057\u305f\u3002<\/p>\n<p>\u4eca\u307e\u3067Nginx\u306f<\/p>\n<p>server {<br \/>listen 80;<br \/>server_name xxx.medicalfields.jp;<\/p>\n<p>if ($http_x_forwarded_proto != https) {<br \/>return 301 https:\/\/$host$request_uri;<br \/>}<br \/>}<\/p>\n<p>\u3066\u306a\u611f\u3058\u3067\u8a2d\u5b9a\u3057\u305f\u3093\u3060\u3051\u3069\u3001\u3069\u3046\u3082Conoha\u3060\u3068HTTP\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u304c301\uff08URL\u8ee2\u9001\uff09\u306b\u306a\u3063\u3066\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u5931\u6557\u306b\u306a\u308b\u3063\u307d\u3044<\/p>\n<p>\u305d\u306e\u305f\u3081\u89aa\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3060\u3051\u306fHTTP\u3067\u30a2\u30af\u30bb\u30b9\u3057\u305f\u969b\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3057\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u305f<\/p>\n<p>\u89e3\u6c7a\u2193<\/p>\n<p>server {<br \/>listen 80;<br \/>server_name xxx.medicalfields.jp;<br \/>location \/ {<br \/>root \/usr\/share\/nginx\/html;<br \/>index index.html index.htm index.php;<br \/>}<br \/>location ^~ \/php\/ {<br \/>if ($http_x_forwarded_proto != https) {<br \/>return 301 https:\/\/$host$request_uri;<br \/>}<br \/>}<br \/>}<\/p>\n<p>\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u3067HTTP\u306e\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u306b\u5931\u6557\u3059\u308b\u5834\u5408\u306f\u3001\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53\u793e\u306fNginx\u3067Conoha\u306e\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002 \u4eca\u307e\u3067\u306fPING\u3067\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3063\u3066\u3044\u305f\u306e\u3060\u304c\u3001Nginx\u306b\u969c\u5bb3\u304c\u51fa\u305f\u969b\u306b\u3001Ping\u3060\u3068\u4e88\u5099\u30b5\u30fc\u30d0\u30fc\u306eNginx\u30c7\u30fc\u30e2\u30f3\u304c\u843d\u3061\u305f\u969b\u306b\u3001\u3046\u307e\u3044\u3053\u3068\u30d0\u30e9\u30f3 &hellip; <a href=\"https:\/\/medicalfields.jp\/blog\/vps\/conoha%e3%81%ae%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%81%a7http%e3%81%ae%e3%83%98%e3%83%ab%e3%82%b9%e3%83%a2%e3%83%8b%e3%82%bf%e3%83%bc%e3%81%8c%e3%81%86%e3%81%be\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Conoha\u306e\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u3067HTTP\u306e\u30d8\u30eb\u30b9\u30e2\u30cb\u30bf\u30fc\u304c\u3046\u307e\u304f\u52d5\u4f5c\u3057\u306a\u3044<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[11],"tags":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6kJO0-bX","_links":{"self":[{"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/posts\/741"}],"collection":[{"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/comments?post=741"}],"version-history":[{"count":1,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/posts\/741\/revisions"}],"predecessor-version":[{"id":742,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/posts\/741\/revisions\/742"}],"wp:attachment":[{"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/media?parent=741"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/categories?post=741"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/medicalfields.jp\/blog\/wp-json\/wp\/v2\/tags?post=741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}