1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-01 22:35:45 +00:00

Make server_tokens configurable per virtual-host

This commit is contained in:
Laurynas Alekna
2021-05-10 22:35:53 +01:00
parent 5bcb77c240
commit fb7a11212f
9 changed files with 204 additions and 11 deletions

View File

@ -6,6 +6,15 @@ web:
WEB_PORTS: 80
VIRTUAL_HOST: web.nginx-proxy.tld
web-server-tokens-off:
image: web
expose:
- "80"
environment:
WEB_PORTS: 80
VIRTUAL_HOST: web-server-tokens-off.nginx-proxy.tld
SERVER_TOKENS: "off"
sut:
image: nginxproxy/nginx-proxy:test