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.
This discussion was converted from issue #13531 on May 29, 2020 12:22.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
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.com
when I access example.com, it serve
nextjs
app well. but the api request in it are failed. Because ofMix content
Error. 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