以下のエラーログを対策する方法、もしくはヒントなどアドバイスをいただけませんでしょうか?
(php5.6.28 / nginx1.8)
2016/11/27 21:55:11 [emerg] 27039#27039: host not found in upstream "upload_backend" in /etc/nginx/nginx.conf:44 2016/11/27 21:55:41 [warn] 4208#4208: *8245 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000004, client: 203.135.238.100, server: localhost, request: "POST /vdata/video_uploading.php HTTP/1.1", host: "210.152.8.39", referrer: "http://210.152.8.39/vdata/index.html"
参考までにnginx.confを以下に記載致します。
user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; client_max_body_size 100M; client_body_buffer_size 64k; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; #tcp_nopush on; keepalive_timeout 65; server { client_max_body_size 200M; listen 8000; server_name localhost; # Main location location / { proxy_pass http://127.0.0.1:8000/; client_max_body_size 1G; } location /upload { proxy_request_buffering off; proxy_pass http://upload_backend; } } #gzip on; include /etc/nginx/conf.d/*.conf; } rtmp { server { listen 1935; access_log /var/log/nginx/rtmp_access.log; application live1 { live on; wait_video on; hls on; hls_path /usr/local/nginx/html/; hls_fragment 5s; } }

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/11/28 03:36