You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and I have its graphql server. and this is running apt port 4000.
and another nginx server to serve ssl, https://example.com
when I access example.com, it serve nextjs app well. but the api request in it are failed. Because of Mix content Error. requesting https ====> http not allowed in browser.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have nextjs app. and it's running at port 3000.
and I have its graphql server. and this is running apt port 4000.
and another nginx server to serve ssl,
https://example.comwhen I access example.com, it serve
nextjsapp well. but the api request in it are failed. Because ofMix contentError. requesting https ====> http not allowed in browser.`
(
server {
listen 80;
listen [::]:80;
server_name www.example.com example.com;
return 301 https://example.com$request_uri;
}
server {
listen 80;
listen [::]:80;
server_name example.com;
})
`
I have no idea to handle this.
Beta Was this translation helpful? Give feedback.
All reactions