mirror of https://github.com/FreshRSS/FreshRSS.git
Fix OpenID Connect crash on ARM (#5463)
Only enable the Apache auth_openidc module when actually used Fix https://github.com/FreshRSS/FreshRSS/issues/5460 Follow-up of https://github.com/FreshRSS/FreshRSS/pull/5351
This commit is contained in:
parent
58b254f9cb
commit
ae8dfc1b1b
|
@ -36,6 +36,7 @@ LABEL \
|
|||
org.opencontainers.image.version="$FRESHRSS_VERSION"
|
||||
|
||||
RUN a2dismod -f alias autoindex negotiation status && \
|
||||
a2dismod auth_openidc && \
|
||||
a2enmod deflate expires headers mime remoteip setenvif && \
|
||||
a2disconf '*' && \
|
||||
a2dissite '*' && \
|
||||
|
|
|
@ -42,6 +42,7 @@ LABEL \
|
|||
org.opencontainers.image.version="$FRESHRSS_VERSION"
|
||||
|
||||
RUN a2dismod -f alias autoindex negotiation status && \
|
||||
a2dismod auth_openidc && \
|
||||
a2enmod deflate expires headers mime remoteip setenvif && \
|
||||
a2disconf '*' && \
|
||||
a2dissite '*' && \
|
||||
|
|
|
@ -11,6 +11,10 @@ if [ -n "$LISTEN" ]; then
|
|||
find /etc/apache2/ -type f -name FreshRSS.Apache.conf -exec sed -r -i "\\#^Listen#s#^.*#Listen $LISTEN#" {} \;
|
||||
fi
|
||||
|
||||
if [ -n "$OIDC_ENABLED" ] && [ "$OIDC_ENABLED" -ne 0 ]; then
|
||||
a2enmod auth_openidc
|
||||
fi
|
||||
|
||||
if [ -n "$CRON_MIN" ]; then
|
||||
(
|
||||
echo "export TZ=$TZ"
|
||||
|
|
Loading…
Reference in New Issue