Kyrne Ok thanks
I'm now using websockets with Option 2 - Websocket server handles SSL
Everything seems to work great but I'm noticing that my forum is hanging after a few minutes and becomes all discussions disappear, it can't be refresh by clicking on the forum logo but only by refreshing the browser's refresh button and then it works for a few minutes and so on
Also, After running php flarum websocket:serve
it is running for minutes, am I suppose to just close the putty like that?
Below is the screenshot of putty constantly running for minutes after running php flarum websocket:serve command
Edit:
I notice that my server is getting automatic restart
These are the console errors when forum goes on blank and refresh mode
Edit2:
Another issue I'm facing is that websockets runs only if I run "php flarum websocket:serve" command in putty and let it run, websockets stops working as soon as I close putty