S
S
Sebastian Pereira2016-01-15 04:08:56
Nginx
Sebastian Pereira, 2016-01-15 04:08:56

How to allow nginx to work on http and https?

Issue when loading third party content via iframe. I get a 'mixed content' error because I get data from http.
Is it possible to make the site work on https, but at the same time allow content to be loaded from an insecure protocol?
My conf:

server {
listen ip:443;
ssl on;
ssl_certificate/../cert.crt;
............
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zooks, 2016-01-15
@zooks

What about nginx? Embed links in HTML with https://or without a protocol //if the resource is available on both protocols.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question