Hi,
I have never used Nginx, I admit it, I'm a complete noob, so before I start configuring it, here is my question.
I want to use Nginx for:
- Serving static files
- Using Websockets
To use websockets, I read this article https://www.nginx.com/blog/websocket-nginx/ . It says that Nginx has to be a reverse proxy and node.js will be the web server.
So, when it comes to serve static files, I would like Nginx not to be a reverse proxy.
Is it possible to configure on the same machine Nginx as a reverse proxy or not depending of what I want to do.
Thanks,
forum_name = map(lambda letter: letter.get('letter'), [{'letter': 'N'}, {'letter': 'G'}, {'letter': 'I'}, {'letter': 'N'}, {'letter': 'X'}])
I have never used Nginx, I admit it, I'm a complete noob, so before I start configuring it, here is my question.
I want to use Nginx for:
- Serving static files
- Using Websockets
To use websockets, I read this article https://www.nginx.com/blog/websocket-nginx/ . It says that Nginx has to be a reverse proxy and node.js will be the web server.
So, when it comes to serve static files, I would like Nginx not to be a reverse proxy.
Is it possible to configure on the same machine Nginx as a reverse proxy or not depending of what I want to do.
Thanks,
forum_name = map(lambda letter: letter.get('letter'), [{'letter': 'N'}, {'letter': 'G'}, {'letter': 'I'}, {'letter': 'N'}, {'letter': 'X'}])