欧美一区2区三区4区公司二百,国产精品婷婷午夜在线观看,自拍偷拍亚洲精品,国产美女诱惑一区二区

歡迎來到夢(mèng)飛科技

服務(wù)器租用

當(dāng)前優(yōu)惠活動(dòng):

nginx 法則錯(cuò)誤 directive “rewrite” is not terminated by

遭遇問題:directive “rewrite” is not terminated by “;”

用vi編輯器編輯完nginx.conf文件后生存,東京主機(jī) 日本代理服務(wù)器,在shell下執(zhí)行呼吁/usr/local/web/nginx/sbin/nginx -t用以查抄nginx.conf設(shè)置文件是否正確(假設(shè)nginx被編譯到/usr/local/web/nginx/)正確的話:

[[email protected]]# /usr/local/web/nginx/sbin/nginx -tthe configuration file /usr/local/web/nginx/conf/nginx.conf syntax is okconfiguration file /usr/local/web/nginx/conf/nginx.conf test is successful

假如呈現(xiàn)如下問題:directive “rewrite” is not terminated by “;”

[[email protected]]# /usr/local/web/nginx/sbin/nginx -t[emerg]: directive “rewrite” is not terminated by “;” in /usr/local/web/nginx/conf/nginx.conf:160configuration file /usr/local/web/nginx/conf/nginx.conf test failed

處理懲罰要領(lǐng):將從頭后的url用雙引號(hào)引起來!

墮落:rewrite ^/date/([0-9]{6})/?([0-9]+)?/?$ /index.php?action=article&setdate=$1&page=$2 last;正確:rewrite “^/date/([0-9]{6})/?([0-9]+)?/?$” /index.php?action=article&setdate=$1&page=$2 last;

看著那句directive “rewrite” is not terminated by “;”還覺得是沒;呢

夢(mèng)飛科技 - 全球數(shù)據(jù)中心基礎(chǔ)服務(wù)領(lǐng)先供應(yīng)商

Copyright © 2003-2019 MFISP.COM. 國(guó)外服務(wù)器租用 IDC公司 版權(quán)所有 ? 粵ICP備11019662號(hào)

主站蜘蛛池模板: 东乡族自治县| 克拉玛依市| 遵义县| 长葛市| 荔波县| 玉屏| 新蔡县| 犍为县| 无棣县| 松滋市| 铜梁县| 新昌县| 梨树县| 屏东县| 虎林市| 定州市| 庆元县| 甘孜| 五寨县| 兴国县| 沧源| 永春县| 鄂州市| 淮南市| 福泉市| 丰原市| 互助| 南漳县| 宁乡县| 益阳市| 博湖县| 天柱县| 沂水县| 房产| 特克斯县| 夏邑县| 陆川县| 金沙县| 涪陵区| 韶关市| 泗阳县|