Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Deploy on Google App Engine? #183

Closed
eadortsu opened this issue May 27, 2019 · 3 comments
Closed

Deploy on Google App Engine? #183

eadortsu opened this issue May 27, 2019 · 3 comments

Comments

@eadortsu
Copy link

I need to implement a self-hosted web-socket server, can i deploy it on google cloud's app engine?

@ibrunotome
Copy link

Hi @eadortsu, I've done it. Take a look: https://github.com/ibrunotome/laravel-api-templates

The secret is that app engine will only forward ports 80 and 443, no matter your firewall rules. So in the nginx.conf you map the requests according to the type (ws or web).

@wmfairuz
Copy link

Hi @eadortsu, I've done it. Take a look: https://github.com/ibrunotome/laravel-api-templates

The secret is that app engine will only forward ports 80 and 443, no matter your firewall rules. So in the nginx.conf you map the requests according to the type (ws or web).

So how do you handle it when there are multiple instance of the app running? (which means multiple of websockets server running)

@rennokki
Copy link
Collaborator

There's an incoming PR to address this issue with multiple WebSocket servers: #140

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants