nginx listen to 80 and 443 no ssl code example
Example: nginx listen on 80 and 443
server {
listen 80;
listen 443 default_server ssl;
# other directives
}
server {
listen 80;
listen 443 default_server ssl;
# other directives
}