D
D
Dmitry2015-01-03 11:32:53
Node.js
Dmitry, 2015-01-03 11:32:53

How to manage a Node server?

I started learning Node a couple of days ago.
All articles write only about how to create a simple application on node. But I would like to understand how to configure the server by analogy with htaccess for Apache.
Well, for example, I want to deny access to a certain directory or file.
Management of caching, compression. To give a file in a certain way in accordance with its type
Or is it done at the routing stage?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2015-01-03
@sim3x

https://www.digitalocean.com/community/tutorials/h...

deny access
nginx.org/en/docs/http/ngx_http_access_module.html
Cache management, compression
nginx.org/en/docs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question