this post was submitted on 26 Jul 2024
1 points (100.0% liked)

nginx

4 readers
1 users here now

The nginx community on Reddit. Reddit gives you the best of the internet in one place.

founded 1 year ago
MODERATORS
 
The original post: /r/nginx by /u/LucasRey on 2024-07-26 04:23:02.

Hello, some days ago I instantiate my first nginx server at home on Ubuntu 24.04 LTS. It's used as reverse proxy for my home services (e.g. immich, nextcloud, authentik, etc..). Now I'm surfing on official documentation, and around on the web, to study how to tweek it. Performance and security is my priority.

I found several directives to add to the config, what is not clear to me is where to add those settings.

Just as example, this: server_tokens off; will minimizing the amount of data that is revealed to potential attackers

Now, where I have to configure such values (and others)? At main config? /etc/nginx/nginx.conf

Or on each available sites under /etc/nginx/sites-enabled/?

Thank you

Lucas

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here