Re: RE: RE: Two domains and multiple server blocks

2017-08-12 Thread Jamesadamar
You are absolutely rightI'm feeling like an idiot, really! For weeks I've tried to change every single character in nginx configuration and your first tip to look at the request header was worth the number of characters in gold ;) wsc is indeed the default prefix for Woltlab Suite and indeed,

Re: RE: Two domains and multiple server blocks

2017-08-12 Thread Jamesadamar
Thank you Reinis for the tip with the outdated version of Nginx, now I am using 1.12 ;) But the problem still remains and it is getting weirder with every minute. Even if I disable the 3jgkp.conf completely so only one server block remains, armapedia.de will be redirected to armapedia.3jgkp.de.

Re: Two domains and multiple server blocks

2017-08-12 Thread Jamesadamar
They are not wrong, look here: http://nginx.org/en/docs/http/server_names.html A special wildcard name in the form “.example.org” can be used to match both the exact name “example.org” and the wildcard name “*.example.org”. You should know your own documentation. If it would be wrong, 3.jgkp.de

Two domains and multiple server blocks

2017-08-12 Thread Jamesadamar
Dear community, I am a beginner in the land of nginx and server administration. From what I've read so far, setting up nginx to listen to two domains is fairly easy. All it needs are two distinct server blocks listen to port 80 and with server_name identical to the domains in question. But it