I know that Aptible uses NGiNX as a proxy to terminate SSL. But we use Apache as our webserver. I’m a little confused. Thoughts?
@Philonous Yeah, VHOSTs run NGiNX (they’re not app-level components).
But your app itself can use Apache internally.
If you’ve got
/run.sh in your Procfile, chances are you’re using a Dockerfile based on their PHP qsg in which case you’re already using Apache inside your app.
Yep! That said, there may be some configuration changes you need to make within the
Dockerfile to suit your needs. One recent example:
RUN sed -i "s/upload_max_filesize =.*/upload_max_filesize = 100M/" /etc/php5/apache2/php.ini RUN sed -i "s/post_max_size =.*/post_max_size = 100M/" php.ini /etc/php5/apache2/php.ini