The same thing happens if i have both http and https in the same server block, which is the only one in config:
server { listen 80; listen 443 ssl; server_name _; ssl_certificate myserver.crt; ssl_certificate_key myserver.key; root /usr/share/nginx/html; client_max_body_size 200M; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; location /http { proxy_pass http://myserver:9092; } location /tls { proxy_pass https://myserver:8444; } Posted at Nginx Forum: https://forum.nginx.org/read.php?2,285723,285776#msg-285776 _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx