We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22152f0 commit a7abd61Copy full SHA for a7abd61
docker-run.sh
@@ -33,9 +33,11 @@ fi
33
34
## Adding env var support for `queryConfigEnabled` core configuration parameter of SwaggerUI
35
if [[ "${QUERY_CONFIG_ENABLED}" = "true" ]]; then
36
- sed -i 's|queryConfigEnabled: false|queryConfigEnabled: true|' $INDEX_FILE
+ sed -i "s|queryConfigEnabled: false|queryConfigEnabled: true|" $INDEX_FILE
37
fi
38
39
+exec nginx -g 'daemon off;'
40
+
41
## Gzip after replacements
42
#find /usr/share/nginx/html/ -type f -regex ".*\.\(html\|js\|css\)" -exec sh -c "gzip < {} > {}.gz" \;
43
#
0 commit comments