server { listen 80; server_name nginx.192.168.2.5.nip.io; access_log /var/www/virtual_hosts/www.mysite.com/logs/access.log; error_log /var/www/virtual_hosts/www.mysite.com/logs/error.log; location / { root /var/www/virtual_hosts/www.mysite.com/html; index index.html index.htm index.php; } }