mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
Set server_tokens off;
in nginx
server configuration
This commit is contained in:
parent
5ab113ba1a
commit
a040c913e7
@ -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
|
||||
|
||||
|
@ -2,6 +2,8 @@ server {
|
||||
listen 8080;
|
||||
server_name _;
|
||||
|
||||
server_tokens off;
|
||||
|
||||
index index.html index.htm;
|
||||
root /opt/html;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user