Hi All,
I am new to nginx and trying to port my app from Apache, I did google and gone through docs unfortunately not able to achieve below requirement.
If user access website for e.g. http://www.abc.com:443 then I would like to return 444, as of now nginx default 400 error page is returned. "The plain HTTP request was sent to HTTPS port
"
server block -
server {
listen 1.1.1.1:443 ssl;
server_name abc.com;
}
Thanks !
I am new to nginx and trying to port my app from Apache, I did google and gone through docs unfortunately not able to achieve below requirement.
If user access website for e.g. http://www.abc.com:443 then I would like to return 444, as of now nginx default 400 error page is returned. "The plain HTTP request was sent to HTTPS port
"
server block -
server {
listen 1.1.1.1:443 ssl;
server_name abc.com;
}
Thanks !