Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
Set apache 'KeepAliveTimeout' is greater than elb 'idle timeout' to a…
Browse files Browse the repository at this point in the history
…void bad gateway errors
  • Loading branch information
Gyu Kang committed Feb 1, 2019
1 parent ed0a79a commit 1ff904c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Expand Up @@ -25,6 +25,8 @@ RUN sed -i "s/;date.timezone =/date.timezone = Asia\/Seoul/" /etc/php/7.2/apache

RUN a2enmod rewrite
RUN a2dissite 000-default && rm /etc/apache2/sites-available/000-default.conf
COPY config/apache/override.conf /etc/apache2/conf-available/override.conf
RUN a2enconf override
COPY config/apache/ridi-pay.conf /etc/apache2/sites-available/ridi-pay.conf
RUN a2ensite ridi-pay

Expand Down
1 change: 1 addition & 0 deletions config/apache/override.conf
@@ -0,0 +1 @@
KeepAliveTimeout 65

0 comments on commit 1ff904c

Please sign in to comment.