@@ -156,11 +156,10 @@ const internalNginx = {
156156 const locationRendering = async ( ) => {
157157 for ( let i = 0 ; i < host . locations . length ; i ++ ) {
158158 let locationCopy = Object . assign ( { } , { access_list_id : host . access_list_id } , { certificate_id : host . certificate_id } ,
159- { ssl_forced : host . ssl_forced } , { caching_enabled : host . caching_enabled } ,
160- { block_exploits : host . block_exploits } , { allow_websocket_upgrade : host . allow_websocket_upgrade } ,
161- { http2_support : host . http2_support } , { hsts_enabled : host . hsts_enabled } ,
162- { hsts_subdomains : host . hsts_subdomains } , { access_list : host . access_list } ,
163- { certificate : host . certificate } , host . locations [ i ] ) ;
159+ { ssl_forced : host . ssl_forced } , { caching_enabled : host . caching_enabled } , { block_exploits : host . block_exploits } ,
160+ { allow_websocket_upgrade : host . allow_websocket_upgrade } , { http2_support : host . http2_support } ,
161+ { hsts_enabled : host . hsts_enabled } , { hsts_subdomains : host . hsts_subdomains } , { access_list : host . access_list } ,
162+ { certificate : host . certificate } , host . locations [ i ] ) ;
164163
165164 if ( locationCopy . forward_host . indexOf ( '/' ) > - 1 ) {
166165 const splitted = locationCopy . forward_host . split ( '/' ) ;
0 commit comments