nginx の .conf -------------------- --------------- --------------- --------------- --------------- --------------- server { listen 80; server_name ××××××.com; root /××××/××××/××××/××××/web1; index index.php index.html; location ~ ......... { ......................; } location ~ .......... { ......................; } } -------------------- --------------- --------------- --------------- --------------- --------------- ⬆この server ブロックを増やすだけです。 試しにポートとドキュメントルートを変えた server ブロックを追加してみた。 /××××/××××/××××/××××/web2にソースを配置して、 /etc/init.d/nginx restart をして。 http://× × × × ×:88/とアクセスしてみると問題なくWebページが表示される。 簡単ですね。 server { listen 88; server_name ○○○○.com; root /××××/××××/××××/××××/web2; index index.php index.html; location ~ ......... { ...............