Open jonas-martinez opened 1 year ago
Document how to use reverse proxy and configure the server to properly handle Gitlab responses.
I can do it by running:
npx ngrok http 4000
which gives me the forwarding URLs that can be put in the HOST environment variable of the server.
HOST
HOST=http://4013-2a01-e0a-3e9-d660-502c-8aa0-2201-6e.ngrok.io mix phx.server
The above mentioned commands do not seem to work as I did not receive the Gitlab response. Is there something that I'm missing ? @pichoemr
The HOST variable is the url we pass to the application so that it can call the server to receive responses from gitlab, you must set the LOCAL_TUNNEL_URL variable.
What should be done
Document how to use reverse proxy and configure the server to properly handle Gitlab responses.
I can do it by running:
which gives me the forwarding URLs that can be put in the
HOST
environment variable of the server.EDIT
The above mentioned commands do not seem to work as I did not receive the Gitlab response. Is there something that I'm missing ? @pichoemr