mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-22 10:05:04 +00:00
fix typo
This commit is contained in:
parent
00e89ec449
commit
d879ddb41f
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ RUN set -x \
|
||||||
# Copy nginx conf from official image
|
# Copy nginx conf from official image
|
||||||
COPY --from=nginx:latest /etc/nginx /etc/nginx
|
COPY --from=nginx:latest /etc/nginx /etc/nginx
|
||||||
|
|
||||||
# Change nginx and disable server tokens
|
# Change nginx user and disable server tokens
|
||||||
RUN sed -i -e 's@\(^user\).*[^;]@\1 www-data@' \
|
RUN sed -i -e 's@\(^user\).*[^;]@\1 www-data@' \
|
||||||
-e "/default_type/a \\ server_tokens off;" /etc/nginx/nginx.conf
|
-e "/default_type/a \\ server_tokens off;" /etc/nginx/nginx.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue