Closed cnscud closed 11 years ago
the html is same with http://www.nginxpushstream.org/chat.html , just change modes to "eventsource" first.
Which browser you used to test?
all browsers £ºchrome safari firefox
·¢×Ô iPhone -- Felix Zhang
ÔÚ 2013-7-18£¬22:53£¬Wandenberg Peixoto notifications@github.com дµÀ£º
Which browser you used to test?
¡ª Reply to this email directly or view it on GitHub.
I compare the 0.3.5 release with the master, not find different. so I can't figure out why not support eventsource , maybe something is wrong with my nginx.
Hi Felix, I did a test with your configuration and did not find any problem. Try to set push_stream_authorized_channels_only to off to see if it works. If it works, the only problem is that you are trying to connect to a channel without any message.
OK, Fixed.
I miss one configuration:
push_stream_allowedorigins "";
under:
location ~ /ev/(._)
Thanks for your concern.
with nginx-pushstream module 0.3.5 release, use your sample conf and example chat.html, the client can't connect to my server, I can't understand why. but your demo is working under http://www.nginxpushstream.com/.
websocket is working fine, stream is working fine, but not eventsource.
thanks.
my configure: