mirror of
https://git.cloudron.io/cloudron/freshrss-app
synced 2025-09-22 21:07:36 +00:00
Fix greader compat issue
https://github.com/FreshRSS/FreshRSS/issues/2233
This commit is contained in:
@@ -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 \
|
||||||
|
Reference in New Issue
Block a user