vhosts バーチャルホスト 確認

virtualhost 一覧

nginx

starting from version 1.9.2 you can do:

nginx -T

show complete nginx configuration

nginx -T | grep "server_name " #include the whitespace to exclude non relevant results

show you all server names

linux - How can I list all vhosts in nginx - Stack Overflow

nginx -T | grep -E "(listen|server_name) "