We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69b63fc commit 6482152Copy full SHA for 6482152
src/server.c
@@ -539,7 +539,7 @@ int main(int argc, char **argv) {
539
info.ssl_ca_filepath = ca_path;
540
info.options |= LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT;
541
}
542
- info.options |= LWS_SERVER_OPTION_REDIRECT_HTTP_TO_HTTPS;
+ info.options |= LWS_SERVER_OPTION_ALLOW_NON_SSL_ON_SSL_PORT | LWS_SERVER_OPTION_REDIRECT_HTTP_TO_HTTPS;
543
544
#endif
545
0 commit comments