<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## 實用的通用域名解析規則 ![](http://cdn.aipin100.cn/18-8-8/50599413.jpg) `@:` 直接解析主域名 `xxx.cn` (可以使得直接輸入二級域名也能夠解析到主機,否則對于那些習慣了懶得輸完整的三級域名的人來說,直接輸二級域名會打不開,體驗會很糟糕,此時 `ping` 也找不到主機。) `www:` 解析后的域名為 `www.xxx.cn`(一般www是必須的) `\*:` 泛解析,匹配其他所有域名 `*.xxx.cn` (1. 使得任意三級域名都能夠訪問到,即使輸錯了也能打開頁面;2. 此后無需做三級域名解析,直接創建虛擬主機綁定就可以了) >[tip] 不過要實現上面所說的效果,注意 `/usr/local/nginx/conf/nginx.conf` 需要這樣配置:`server_name _;` 和 `root /data/wwwroot/default;`,使得沒有綁定的域名泛解析(沒有被創建的虛擬主機)都能夠定向到 `/data/wwwroot/default`,此時使用IP訪問也是一樣的效果。 > > 直接訪問IP或者沒有虛擬主機的泛解析所定向的位置可以作為一個“中心”,到這里不會迷路,這樣就能徹底避免出現打不開的地址的情況。 ``` …… ######################## default ############################ server { listen 80; server_name _; access_log /data/wwwlogs/access_nginx.log combined; root /data/wwwroot/default; index index.html index.htm index.php; #error_page 404 /404.html; #error_page 502 /502.html; location /nginx_status { stub_status on; access_log off; allow 127.0.0.1; deny all; } …… } ########################## vhost ############################# include vhost/*.conf; } ``` * * * * * last update:2018-8-8 22:12:23
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看