fix RemoteIPHeader
This commit is contained in:
parent
b2f81f1d8c
commit
61727fcbc9
|
@ -22,5 +22,6 @@ RUN cd API && composer install
|
|||
# |--------------------------------------------------------------------------
|
||||
FROM gitlab.jonasled.de/jonasled/apache-php-minimal:latest
|
||||
RUN apk update && \
|
||||
apk add php8-mysqli php8-mbstring php8-curl curl --no-cache
|
||||
apk add php8-mysqli php8-mbstring php8-curl curl --no-cache && \
|
||||
echo "RemoteIPHeader X-Forwarded-For" > /etc/apache2/conf.d/remoteip.conf
|
||||
COPY --from=composer /build/ .
|
|
@ -1,3 +1,2 @@
|
|||
ErrorDocument 404 /404.html
|
||||
Options -Indexes
|
||||
RemoteIPHeader X-Forwarded-For
|
||||
Options -Indexes
|
Loading…
Reference in a new issue