Set server_tokens off; in nginx server configuration

This commit is contained in:
Paramtamtam 2020-07-16 15:19:44 +05:00
parent 5ab113ba1a
commit a040c913e7
No known key found for this signature in database
GPG Key ID: 366371698FAD0A2B
2 changed files with 5 additions and 2 deletions

View File

@ -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]. The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].
## Unreleased ## v1.3.0
### Added ### Added
- 418 status code error page - `418` status code error page
- Set `server_tokens off;` in `nginx` server configuration
## v1.2.0 ## v1.2.0

View File

@ -2,6 +2,8 @@ server {
listen 8080; listen 8080;
server_name _; server_name _;
server_tokens off;
index index.html index.htm; index index.html index.htm;
root /opt/html; root /opt/html;