Skip to content

Socket IO connection doesn't work on ios, but works on android (http 301 instead of 101) #4957

Closed Answered by svbackend
svbackend asked this question in Q&A
Discussion options

You must be logged in to vote

actually issue was indeed within these lines:

 if ($redirect_to != $http_host) {
 # i was trying to comment out this line, it didn't help
 return 301 https://$redirect_to$request_uri;
 }

maybe first time when i commented them out i forgot to restart nginx or something, I just double-checked - it fixed the issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by darrachequesne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant