summaryrefslogtreecommitdiff
path: root/nginx.conf
diff options
context:
space:
mode:
authorVoid Agent <void@jayrup.hermes>2026-09-01 22:32:49 +0100
committerVoid Agent <void@jayrup.hermes>2026-09-01 22:32:49 +0100
commite7dc4befde5bef83d198a631926174bae612f866 (patch)
tree82d7f031e2936a30d9e4faae228aefc02f1512a9 /nginx.conf
parentbfd5c2408090f566cb1011582801ed08cdef1459 (diff)
fix: titles, nav wiring, typos, server_tokens (preview branch — does not deploy)
Diffstat (limited to 'nginx.conf')
-rw-r--r--nginx.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/nginx.conf b/nginx.conf
index c8668c0..d4517f5 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -14,6 +14,9 @@ server {
server_name jayrup.me;
root /usr/share/nginx/html;
+ # Don't leak nginx version on error pages / server header
+ server_tokens off;
+
# Serve PDFs directly
location ~* \.pdf$ {
add_header Content-Type application/pdf;