Make sure to set the proxied
option, otherwise IP based limiting will fail. The option is passed verbatim to the expressjs trust proxy
setting if it is truthy.
const PeerServer = require('peer').PeerServer; const server = PeerServer({port: 9000, path: '/myapp', proxied: true});
--
--
You received this message because you are subscribed to the Google
Groups "Eiffel Web Framework" group.
To post to this group, send email to
eiffel-web...@googlegroups.com
To unsubscribe from this group, send email to
eiffel-web-frame...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/eiffel-web-framework
See the site for the Eiffel-Web-Framework project at
https://github.com/EiffelWebFramework/EWF
---
You received this message because you are subscribed to the Google Groups "Eiffel Web Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eiffel-web-frame...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eiffel-web-framework/8c276d3b-9c34-4001-9667-2d71073778fe%40googlegroups.com.
Hi,Thanks for the feedback, this is really helpful for anyone willing to play with websocket and proxy.However I don't understand all of your last message.Do you search a way to pass "proxied: true"from the client side?
Or this is more a server setting?
Could you share the documentation link where you found that information?
To view this discussion on the web visit https://groups.google.com/d/msgid/eiffel-web-framework/CAFq%2Bd47TjjL-o3uQYve19P_pbq%3De2f3Aj4RPsOcjO_Xr9PyzYQ%40mail.gmail.com.