Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Using Nginx for serving static Files and Websocket

$
0
0
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'}])

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>