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?

Thanks…

Roger

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to