Change alias behaviour not to create new server section needlessly
This commit is contained in:
parent
a18daabc51
commit
e78ad92c87
2 changed files with 2 additions and 16 deletions
|
|
@ -201,7 +201,7 @@ For more information please check https://enable-cors.org/server_nginx.html
|
|||
### Server Alias
|
||||
|
||||
To add Server Aliases to an Ingress rule add the annotation `ingress.kubernetes.io/server-alias: "<alias>"`.
|
||||
This will create a server with the same configuration, but a different server_name as the provided host.
|
||||
This will create a server with two server_names (hostname and alias)
|
||||
|
||||
*Note:* A server-alias name cannot conflict with the hostname of an existing server. If it does the server-alias
|
||||
annotation will be ignored. If a server-alias is created and later a new server with the same hostname is created
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue