mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-29 22:30:13 +02:00
[nginx.conf]: Set 'server_tokens off'; won't leak nginx version (#4681)
Some checks failed
Tests / phpunit8 (8.3) (push) Has been cancelled
Tests / phpunit8 (8.4) (push) Has been cancelled
Build Image on Commit and Release / bake (push) Has been cancelled
Lint / phpcs (7.4) (push) Has been cancelled
Lint / phpcompatibility (7.4) (push) Has been cancelled
Lint / executable_php_files_check (push) Has been cancelled
Tests / phpunit8 (7.4) (push) Has been cancelled
Tests / phpunit8 (8.0) (push) Has been cancelled
Tests / phpunit8 (8.1) (push) Has been cancelled
Tests / phpunit8 (8.2) (push) Has been cancelled
Some checks failed
Tests / phpunit8 (8.3) (push) Has been cancelled
Tests / phpunit8 (8.4) (push) Has been cancelled
Build Image on Commit and Release / bake (push) Has been cancelled
Lint / phpcs (7.4) (push) Has been cancelled
Lint / phpcompatibility (7.4) (push) Has been cancelled
Lint / executable_php_files_check (push) Has been cancelled
Tests / phpunit8 (7.4) (push) Has been cancelled
Tests / phpunit8 (8.0) (push) Has been cancelled
Tests / phpunit8 (8.1) (push) Has been cancelled
Tests / phpunit8 (8.2) (push) Has been cancelled
This commit is contained in:
parent
29b47d95dc
commit
32f324dbb5
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ server {
|
|||
error_log /var/log/nginx/error.log;
|
||||
index index.php;
|
||||
|
||||
server_tokens off; # Hide nginx version
|
||||
|
||||
location ~ /(\.|vendor|tests) {
|
||||
deny all;
|
||||
return 403; # Forbidden
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue