I have this setup with apache but want to move over to nginx. I'm not sure how I can accomplish this.
In apache I had it as
What would be the nginx equivalent?
server_name www.example.net default_server; and
server_name _; but that doesn't seem to work. I just keep getting a 404 every time I visit any host but
Update It seems that serving static files is not a problem. So it is pointing correctly but PHP files are giving me a 404 error (using php-fpm). Any ideas?