LS Web Service crashes after you install the OnGuard Policies 1.1.84 web module.

Symptom

 LS Web Service crashes after you install the OnGuard Policies 1.1.84 web module. This happens due to a headers file discrepancy between NGINX 1.17.5 and the OnGuard Policies configuration files. The new NGINX version does not support enabling the more_set_headers that exists in Policies. 

Resolution

Replacing the more_set_headers with add_headers that also contains the “Always” parameter resolves the issue. Refer to this link for more details: https://github.com/docker/distribution/issues/452

Corrected version of mentioned lines:
add_header 'Access-Control-Allow-Origin: $cors_http_origin' always;
add_header 'Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS' always;
add_header X-Frame-Options DENY always;

 

Applies To

 OnGuard 7.4 Update 3

OnGuard 7.5 Update 2 

Additional Information

Copyright © 2024 Carrier. All rights reserved.