| Added possibility to define Nginx proxy timeouts for Devops Portal Service. |
| Added possibility to define Nginx proxy timeouts for Devops Portal service through Salt metadata. |
| To avoid possible *Gateway Timeout* errors that occur due to huge amount |
| of data, connection, and other issues. Its possible to configure server timeouts on the side of |
| **To configure Nginx proxy timeouts:** |
| #. Define following parameters on a system level for each service in |
| # Proxy parameters, default value equals 300 ms |
| proxy_connect_timeout: 300 |
| .. note:: The following is the example of the above configuration |
| /srv/salt/reclass/classes/system/docker/swarm/stack/YOUR_SERVICE.yml |
| #. Recreate devops-portal stack: |
| docker stack rm devops-portal |
| salt -C 'I@devops_portal:config' state.sls devops_portal.config |
| salt -C 'I@docker:swarm:role:master' state.sls docker.client |
| The Nginx configuration are updated during the Devops Portal Salt |
| .. fixes https://mirantis.jira.com/browse/PROD-14603 |