[nginx]域名設定

大搜車-自娛發表於2012-10-22
nginx配置檔案內include XXXX.conf
xxxx.conf檔案內容


server{
listen 80;
server_name dianxinhao123.com;
location / {
proxy_pass http://localhost:9875;
}

}



設定後即可生效,但是域名必須要有內網OP的支援,內網使用者訪問該域名才可以轉發到這臺機器上

相關文章