年末了事情真多,club服務器有問必答 提交頁面 提交出這個問題php
The page you are looking for is temporarily unavailable.Please try again later.html
一看就知道是nginx的請求的錯誤,,惆悵啊。。nginx
就開啓了 錯誤日誌查看。。。apache
tail -f error.log
就具體錯誤是 :後端
upstream sent too big header while reading response header from upstream服務器
咱們是nginx反向代理
proxy是nginx做爲client轉發時使用的,若是header過大,超出了默認的1k,就會引起上述的upstream sent too big header (說白了就是nginx把外部請求給後端apache ,apache返回的header
#添加這3行 ,
............
fastcgi_connect_timeout 60;
fastcgi_send_timeout 180;
fastcgi_read_timeout 180;
fastcgi_buffer_size 128k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
fastcgi_intercept_errors on
011/01/07 11:12:57 [error] 10770#0: *38585340 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 116.22.131.154, server: *.xywy.com, request: "GET /ysmp/index.php?did=124994 HTTP/1.0", upstream: "http://127.0.0.1:8080/ysmp/index.php?did=124994", host: "xywy.yn16.com"
後來原來那錯誤沒了出了新錯誤了 upstream timed out 超時?
server {
後來參數我又改了下 就行了。。。