I like to ask, how can i deploy my revel framework app using nginx in different linten port, for example port 8089. Thank you
Asked
Active
Viewed 1,070 times
0
-
Can somebody helm me. thanx – joshua29 Feb 03 '15 at 06:58
-
There is a deleted answer to your question which apparently answers the question. You replied: `i already did that. but the go lang code doesn't read. html code was only read`. Can you please fix your question so it demonstrates your actual problem? – Simon Whitehead Feb 03 '15 at 08:43
1 Answers
1
Based on your question, I assume you are trying to reverse proxy from nginx to your revel framework application. Essentially using proxy pass forwards HTTP request headers from one port/application to another. This allows you to use your web application directly.
If this is the case, you'll need to do the following:
- Start the app on some port (say 8089)
- Configure Nginx to handle reverse proxy web connections from port 80 / 443 to that port.
- Navigate to the URL specified by the Nginx proxy pass configuration.
This link from Nginx should be helpful in setting up the proxy pass.
If this is not what you are trying to achieve, let me know and I'll try to help out some more!

abalos
- 1,301
- 7
- 12