Compare commits

..

No commits in common. "9630408ca0a07e9165edda955329c11005f69d3a" and "885deb5979d1615196f64eb097e626fb6f6119b3" have entirely different histories.

3 changed files with 0 additions and 6 deletions

View File

@ -18,7 +18,6 @@ COPY ./configs/prod-php.ini /etc/php.ini
COPY ./configs/phpinfo.php /var/www/html/
COPY ./configs/mariadb.repo /etc/yum.repos.d/
COPY ./configs/index.php /var/www/html/
COPY ./remote_ip.conf /etc/httpd/conf.d/
RUN echo "15 */12 * * * root /scripts/log-rotate.sh" >> /etc/crontab
RUN yum clean all
ENTRYPOINT [ "/scripts/entrypoint.sh" ]

View File

@ -1,2 +0,0 @@
RemoteIPHeader X-Forwarded-For
LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined

View File

@ -14,9 +14,6 @@ mv /var/log/httpd /var/log/httpd.bak
ln -s /home/$user/logs/apache /var/log/httpd
ln -s /home/$user/logs/php-fpm /var/log/php-fpm
rm -f /etc/httpd/conf.d/userdir.conf
docker_network=$(ip addr show |grep eth0 |grep inet |awk -F " " {'print $2'})
echo "RemoteIPInternalProxy $docker_network" >> /etc/httpd/conf.d/remoteip.conf
/scripts/install-php$PHPVER.sh
/scripts/create-vhost.sh