ãã¼ã«ã«ã«2ã¤ã®ã¢ããªã±ã¼ã·ã§ã³ãåããã¦ãã¦ãURLã§ãªãã¼ã¹ãããã·å ãæ¯ãåããè¨å®ã«ãªãã¾ãã/fooã§åããã¨5001ãã¼ãã§åãã¦ãã¢ããªã«ã/barã§åããã¨5000ãã¼ãã§åãã¦ãã¢ããªã«æ¯ãåãã¦ããã¾ãã ãã©ã¡ã¼ã¿ãã«ããã«ããããã¨ãã¯rewriteã«ã¼ã«ã®ã¨ããã§è²ã å¤æ°åããã¨è¯ãã¨æãã¾ãã ãµããã¡ã¤ã³ä½¿ããªãç°å¢ã®ãä¼´ã«ã©ããããããnginxã¯ã·ã³ãã«ã§è¯ãã§ããã server { listen 80; server_name www.example.jp; charset koi8-r; location /foo { rewrite ^/foo/(.+) $1 break; proxy_pass http://127.0.0.1:5001/$1; } location /bar { rewrite ^/bar/(.+) $1 break; prox
{{#tags}}- {{label}}
{{/tags}}