@sharonyue No, I don't think so. It's unusual for avatar images to have transparent backgrounds 🙂
Apache Proxy Problem Help Please :D
Hey Awesome NodeBB peeps,
i have installed the apache proxy and have this error
File does not exist: /var/www/socket.io, referer: http://forum.elysium-gaming.tk/admin/index
My virtualhost is this**
ProxyRequests off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /socket.io/1/websocket ws://184.108.40.206:4567/socket.io/1/websocket ProxyPassReverse /socket.io/1/websocket ws://220.127.116.11:4567/socket.io/1/websocket ProxyPass /socket.io/ http://18.104.22.168:4567/socket.io/ ProxyPassReverse /socket.io/ http://22.214.171.124:4567/socket.io/ ProxyPass / http://126.96.36.199:4567/ ProxyPassReverse / http://188.8.131.52:4567/
Any help appreciated
On the NodeBB wiki they say to use this
Allow from all
ProxyPass /socket.io/1/websocket ws://127.0.0.1:4567/socket.io/1/websocket
ProxyPassReverse /socket.io/1/websocket ws://127.0.0.1:4567/socket.io/1/websocket
@xCausxn I wrote the guide for Apache, but like you, this kinda made me think about switching to nginx and I did. Using php-fpm for handling php requests, and the passthrough works like a charm.
The main thing about apache is that most distros have apache 2.2.x which doesnt include the proper proxy tunnel module for web sockets. You either need 2.4.x, or backport the module to 2.2.x which is in the guide.
Since moving to nginx though, I question why I didnt do it sooner..