I am using mod_wsgi-express inside a Docker container. Currently, I am using a bash file and sed to do a find/replace on httpd.conf once it's built, but it seems hacky. Here is what I have:
adduser --disabled-password --gecos '' r > cd /g2e/ > mod_wsgi-express setup-server wsgi.py --port=80 --user r --group r > --server-root=/etc/g2e --socket-timeout=600 > chmod a+x /etc/g2e/handler.wsgi > chown -R r /g2e/g2e/static/ > sed -i "s/LimitRequestBody 10485760/LimitRequestBody 2048000000/g" > /etc/g2e/httpd.conf > /etc/g2e/apachectl start > tail -f /etc/g2e/error_log Is this a good way or is there something more straightforward? -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/modwsgi. For more options, visit https://groups.google.com/d/optout.
