ãã®ãããã¯ãå½¹ã«ç«ã£ããPerlbalã®X_REPROXY_URLçãªãã¨ãnginxã§ããnginxããªãã¼ã¹ãããã·ã«ãªã£ã¦ãã¦ãèå¾(127.0.0.1:8000)ã«ã¢ããªã±ã¼ã·ã§ã³ãããå ´åã次ã®ãããªè¨å®ã«ãªãã upstream django { server 127.0.0.1:8000; } server { listen 80; server_name localhost; location / { proxy_pass http://django; } location /reproxy { internal; set $reproxy $upstream_http_x_reproxy_url; proxy_pass $reproxy; proxy_hide_header Content-Type; } } ã¯ã¾ã£ãã®ãã"proxy_pass $reproxy"ã®ã
{{#tags}}- {{label}}
{{/tags}}