第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

nginx配置不生效?

nginx配置不生效?

慕桂英4014372 2019-02-19 21:14:24
default.conf配置如下:server {    listen                     80;    server_name                127.0.0.1;    error_page                 500 502 503 504 /50x.html;         location / {        root   /usr/share/nginx/html;        index  index.html index.htm;     }         location /api {        proxy_pass        http://127.0.0.1:5000;        proxy_set_header  X-Real-IP $remote_addr;     }    location /baidu {        return  302 https://www.baidu.com$request_uri;     } }運(yùn)行狀態(tài):$ ps -ef |grep nginx root     31126     1  0 02:42 ?        00:00:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf nginx    31127 31126  0 02:42 ?        00:00:00 nginx: worker process root     31155 13304  0 02:46 ?        00:00:00 /opt/appnode/agent/apps/nginx/anapp-nginx root     31212 31187  0 02:51 pts/0    00:00:00 grep --color=auto nginx檢查配置文件:$ nginx -tnginx: the configuration file /etc/nginx/nginx.conf syntax is oknginx: configuration file /etc/nginx/nginx.conf test is successful
查看完整描述

2 回答

?
瀟瀟雨雨

TA貢獻(xiàn)1833條經(jīng)驗(yàn) 獲得超4個(gè)贊

把server_name注釋掉試試呢?

查看完整回答
反對(duì) 回復(fù) 2019-02-19
  • 2 回答
  • 0 關(guān)注
  • 2478 瀏覽
慕課專(zhuān)欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)