Skip to content

Commit

Permalink
Another attempt at escaping the text in UWSGI_OPTS
Browse files Browse the repository at this point in the history
  • Loading branch information
twdbben committed Apr 16, 2024
1 parent 66dbd8a commit 0c9fa42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/ckan/setup/app/start_ckan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ then
fi

# Set the common uwsgi options
UWSGI_OPTS='--socket /tmp/uwsgi.sock --uid ckan --gid ckan --http :5000 --master --enable-threads --wsgi-file /srv/app/wsgi.py --module wsgi:application --lazy-apps --gevent 2000 -p 2 -L --gevent-early-monkey-patch --vacuum --harakiri 50 --callable application --single-interpreter --need-app --disable-logging --log-4xx --log-5xx --log-slow 5000 --http-keepalive 1 --http-auto-gzip --collect-header Content-Type RESPONSE_CONTENT_TYPE --response-route-if equal:${RESPONSE_CONTENT_TYPE};application/json addheader:uWSGI-Encoding: gzip --response-route-if startswith:${RESPONSE_CONTENT_TYPE};text/html addheader:uWSGI-Encoding: gzip'
UWSGI_OPTS='--socket /tmp/uwsgi.sock --uid ckan --gid ckan --http :5000 --master --enable-threads --wsgi-file /srv/app/wsgi.py --module wsgi:application --lazy-apps --gevent 2000 -p 2 -L --gevent-early-monkey-patch --vacuum --harakiri 50 --callable application --single-interpreter --need-app --disable-logging --log-4xx --log-5xx --log-slow 5000 --http-keepalive 1 --http-auto-gzip --collect-header Content-Type RESPONSE_CONTENT_TYPE --response-route-if equal:\${RESPONSE_CONTENT_TYPE};application/json addheader:uWSGI-Encoding: gzip --response-route-if startswith:\${RESPONSE_CONTENT_TYPE};text/html addheader:uWSGI-Encoding: gzip'


# Run the prerun script to init CKAN and create the default admin user
Expand Down

0 comments on commit 0c9fa42

Please sign in to comment.