Home
Support Forums

Mix content error (https and http)

Hey guys,

I am making a project using API and I seem to get a mixed content error since I am requesting information from HTTP server but netlify enforces only https?

Is there a way to disable the option to enforce https requests only? or am I out of luck.

The answers in this thread indicate that you cannot serve from HTTP on Netlify.

2 Likes

The connection via https is definitely more secure. Netlify offers free https on all sites, including automatic certificate generation and renewal. Just choose https and create a site easily.

2 Likes

Hi @boi96

If you are using fetch client-side e.g.

await fetch('http://example.com')

you will get a mixed content error. A great thread on this topic is

2 Likes