From a040c913e798a30c1150a8ebc77eec1b98c12ef0 Mon Sep 17 00:00:00 2001 From: Paramtamtam Date: Thu, 16 Jul 2020 15:19:44 +0500 Subject: [PATCH] Set `server_tokens off;` in `nginx` server configuration --- CHANGELOG.md | 5 +++-- docker/nginx-server.conf | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd3c9e8..f52e337 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,12 @@ All notable changes to this package will be documented in this file. The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver]. -## Unreleased +## v1.3.0 ### Added -- 418 status code error page +- `418` status code error page +- Set `server_tokens off;` in `nginx` server configuration ## v1.2.0 diff --git a/docker/nginx-server.conf b/docker/nginx-server.conf index 549b27c..3dd885e 100644 --- a/docker/nginx-server.conf +++ b/docker/nginx-server.conf @@ -2,6 +2,8 @@ server { listen 8080; server_name _; + server_tokens off; + index index.html index.htm; root /opt/html;