Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39aa1415 authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

Remove users IP from logs

parent d3234754
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2,7 +2,7 @@ FROM nginx:1.17.6-alpine


COPY etc/nginx/conf.d/spot.conf /etc/nginx/conf.d/default.conf
COPY etc/nginx/conf.d/spot.conf /etc/nginx/conf.d/default.conf
COPY etc/nginx/proxy_spot_params /etc/nginx/proxy_spot_params
COPY etc/nginx/proxy_spot_params /etc/nginx/proxy_spot_params
RUN sed -i 's!remote_addr!http_x_forwarded_for!g' /etc/nginx/nginx.conf
RUN sed -i 's!http_x_forwarded_for!remote_addr!g' /etc/nginx/nginx.conf
COPY --chown=nginx:nginx searx/static /var/www/spot/static
COPY --chown=nginx:nginx searx/static /var/www/spot/static
COPY nginx-docker-entrypoint.sh /docker-entrypoint.sh
COPY nginx-docker-entrypoint.sh /docker-entrypoint.sh