invalid default_server parrameter

Joel Parker joel.parker.gm at gmail.com
Mon Apr 24 20:13:45 UTC 2017


I'm still trying to figure this all out. I am just going to remove
default_server for now like you suggested. The config checker doesn't
complain anymore ... we'll see if it works.

Joel

On Mon, Apr 24, 2017 at 2:10 PM, Joel Parker <joel.parker.gm at gmail.com>
wrote:

> I have many servers sending ssl which I am trying to terminate. So I
> wanted to create a statement that was a catch all instead of listening for
> each ip address. I thought this would do it :
>
> server {
>
>       listen 443 ssl  default_server;
>
> ......
>
> }
>
> but when I run nginx -t, I keep getting the error : nginx: [emerg] the
> invalid "default_server" parameter in /etc/nginx/nginx.conf:13
>
> Is this the correct way of doing a catch all incoming ssl traffic and what
> is wrong with my syntax ?
>
> Joel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170424/c32acad9/attachment.html>


More information about the nginx mailing list