I’ve several config-files in sites-enabled, all working fine. However,
if a
domain (foobar2.com) not is mentioned in a config, NGINX takes the
conf-file
of foobar1.com. How can i overrule this and make some sort of catch-all?
With the line in the default-config i get an error 500:
server {
listen 80 default_server;
server_name _; # This is just an invalid value which will never
trigger
on a real hostname.
server_name_in_redirect off;
root /home/user/www/park;
location / {
# This is cool because no php is touched for static
On Fri, Aug 02, 2013 at 08:38:28AM -0400, lennart wrote:
Hi there,
I’ve several config-files in sites-enabled, all working fine. However, if a
domain (foobar2.com) not is mentioned in a config, NGINX takes the conf-file
of foobar1.com. How can i overrule this and make some sort of catch-all?