mirror of
				https://github.com/thib8956/nginx-proxy
				synced 2025-10-31 09:09:20 +00:00 
			
		
		
		
	Make server_tokens configurable per virtual-host
This commit is contained in:
		| @@ -421,6 +421,10 @@ If you are using multiple hostnames for a single container (e.g. `VIRTUAL_HOST=e | ||||
| If you want most of your virtual hosts to use a default single `location` block configuration and then override on a few specific ones, add those settings to the `/etc/nginx/vhost.d/default_location` file. This file | ||||
| will be used on any virtual host which does not have a `/etc/nginx/vhost.d/{VIRTUAL_HOST}_location` file associated with it. | ||||
|  | ||||
| #### Per-VIRTUAL_HOST `server_tokens` configuration | ||||
| Per virtual-host `servers_tokens` directive can be configured by passing appropriate value to the `SERVER_TOKENS` environment variable. Please see the [nginx http_core module configuration](https://nginx.org/en/docs/http/ngx_http_core_module.html#server_tokens) for more details. | ||||
|  | ||||
|  | ||||
| ### Contributing | ||||
|  | ||||
| Before submitting pull requests or issues, please check github to make sure an existing issue or pull request is not already open. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user