mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-09-10 12:56:08 +08:00
Set proxy_ssl_server_name always (#394)
* ✨ feat: nginx option - ssl_server_name * 💡 chore: bump copyright year
This commit is contained in:
committed by
GitHub
parent
1afe9384fd
commit
81c5c517df
@@ -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';
|
||||
|
Reference in New Issue
Block a user