Multiple server_name directives in same server block?

2019-12-20 Thread Roger Fischer
Hello, is it possible to have multiple server_name directives in the same server block? I.e. is the following possible? server { listen 1.2.3.4:443 ssl; server_name *.site1.org *.site2.org; server_name ~^app1.*\.site3\.org$; …. Or do I need to create a second server block? Than

Re: Nginx 1.17.6 ignores kill -HUP

2019-12-20 Thread Sergey A. Osokin
Hi Luciano, hope you're doing well. As far as I understood you're running nginx on FreeBSD 11.3 ppc64. It looks like it's nginx from mainline 1.17 branch. I would recommend to build nginx from FreeBSD ports collection, please see www/nginx-devel for details. In this case nginx builds with the f

Re: Nginx 1.17.6 ignores kill -HUP

2019-12-20 Thread Luciano Mannucci
On Fri, 20 Dec 2019 16:23:26 +0100 Luciano Mannucci wrote: > I have an istallation of nginx in a FreeBSD PPC64 server (running > 11.3 RELEASE) which seems to ignore kill -HUP: it doesn't reload > configuration and doesn't log the fact that kill has reached it, even > if I set the debug level in e

Nginx 1.17.6 ignores kill -HUP

2019-12-20 Thread Luciano Mannucci
I have an istallation of nginx in a FreeBSD PPC64 server (running 11.3 RELEASE) which seems to ignore kill -HUP: it doesn't reload configuration and doesn't log the fact that kill has reached it, even if I set the debug level in error_log to "debug". nginx -V says: nginx version: nginx/1.17.6 b

Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-20 Thread vikask
I have installed Wordpress in a subdirectory - /var/www/html/stage I am getting the following error in the error log. I think the filename being passed has the subdirectory name prepended, which should not happen. - 2019/12/20 15:34:00 [error] 22393#22393: *10 FastCGI sent in stderr: "Primar

Nginx SMTP relay access denied!

2019-12-20 Thread shahzaib mushtaq
Hi, We've setup NGINX SMTP proxy in front of postfix. When i try to telnet to nginx smtp on port 25 it shows the "relay access denied" message.: https://pastebin.com/JF4TVqBw Here is the config of nginx: mail { server_name mail.domain.com; auth_http localhost:80/auth.php;