nginx ssl and non 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
}