Skip to content

How to disable SSL verification for proxied host? #3332

Answered by vggscqq
vggscqq asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, yes I did.
Go to your proxy host custom locations and define / (root) location.
Scheme should be https.
Under advanced settings use this

location / {
    proxy_pass https://self-signed.badssl.com/:443;
    proxy_ssl_verify       off;
    proxy_ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vggscqq
Comment options

Answer selected by vggscqq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants