Set proxy_ssl_server_name always (#394)

*  feat: nginx option - ssl_server_name

* 💡 chore: bump copyright year
This commit is contained in:
José Manuel Casani Guerra 2022-10-08 18:55:28 +00:00 committed by GitHub
parent 1afe9384fd
commit 81c5c517df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,9 @@ export default global => {
config.proxy_http_version = '1.1';
config.proxy_cache_bypass = '$http_upgrade';
config['# Proxy SSL'] = '';
config['proxy_ssl_server_name'] = 'on';
config['# Proxy headers'] = '';
config['proxy_set_header Upgrade'] = '$http_upgrade';
config['proxy_set_header Connection'] = '$connection_upgrade';