Если при использовании дистрибутива КриптоПро NGate типа Complete в web-интрефейсе администратора:
Clusters
имя кластера
Nodes
нажать кнопку Generate node bindings, то конфигурация не опубликуется с ошибкой:
The current server configuration: Configuration status: Initializing... Uploading configuration to node Node1... Error: Can not parse upload reply from node. Status code 502: <html> <head><title>502 Bad Gateway</title></head> <body bgcolor="white"> <center><h1>502 Bad Gateway</h1></center> <hr><center>nginx/1.14.0</center> </body> </html> Error when uploading configuration to node Node1: Error uploading configuration!
Решение:
Отредактировать файл /etc/opt/ngate/nginx/ng-bindings.conf
Привести его к виду:
# Self-node on combined installation (MC+node) server { listen 127.0.0.1:7050 default_server; server_name node_server;
allow 127.0.0.1; deny all;
location / { proxy_pass http://127.0.0.1:7021; } }
и перезапустись nginx:
serviсe nginx restart
|