Fix greader compat issue
https://github.com/FreshRSS/FreshRSS/issues/2233
This commit is contained in:
parent
58ae3feab3
commit
067a7c1c02
|
@ -12,6 +12,9 @@ RUN wget https://github.com/FreshRSS/Extensions/archive/d7f025d9dd4d6322a18783db
|
||||||
mv /app/code/extensions /app/code/extensions-orig && \
|
mv /app/code/extensions /app/code/extensions-orig && \
|
||||||
ln -s /app/data/extensions /app/code/extensions
|
ln -s /app/data/extensions /app/code/extensions
|
||||||
|
|
||||||
|
# https://github.com/FreshRSS/FreshRSS/issues/2233
|
||||||
|
RUN sed -e "s/SetEnvIf/SetEnvIfNoCase/" -i /app/code/p/api/.htaccess
|
||||||
|
|
||||||
# configure apache
|
# configure apache
|
||||||
RUN rm /etc/apache2/sites-enabled/*
|
RUN rm /etc/apache2/sites-enabled/*
|
||||||
RUN sed -e 's,^ErrorLog.*,ErrorLog "|/bin/cat",' -i /etc/apache2/apache2.conf
|
RUN sed -e 's,^ErrorLog.*,ErrorLog "|/bin/cat",' -i /etc/apache2/apache2.conf
|
||||||
|
@ -21,7 +24,7 @@ RUN a2disconf other-vhosts-access-log
|
||||||
ADD apache/freshrss.conf /etc/apache2/sites-enabled/freshrss.conf
|
ADD apache/freshrss.conf /etc/apache2/sites-enabled/freshrss.conf
|
||||||
RUN echo "Listen 8000" > /etc/apache2/ports.conf
|
RUN echo "Listen 8000" > /etc/apache2/ports.conf
|
||||||
|
|
||||||
RUN a2enmod headers expires deflate mime dir rewrite
|
RUN a2enmod headers expires deflate mime dir rewrite setenvif
|
||||||
|
|
||||||
RUN rm -rf /var/lib/php \
|
RUN rm -rf /var/lib/php \
|
||||||
&& ln -s /run/php /var/lib/php \
|
&& ln -s /run/php /var/lib/php \
|
||||||
|
|
Loading…
Reference in New Issue