Merge pull request #17990 from vector-im/revert-17927-patch-1

This commit is contained in:
Michael Telatynski 2021-07-14 09:41:08 +01:00 committed by GitHub
commit c6a8675526
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,9 +35,3 @@ RUN sed -i '3i\ \ \ \ application/wasm wasm\;' /etc/nginx/mime.types
RUN rm -rf /usr/share/nginx/html \
&& ln -s /app /usr/share/nginx/html
RUN mkdir -p /var/log/nginx /var/cache/nginx /var/run/nginx \
&& chown -R nginx:nginx /var/log/nginx /var/run/nginx /var/cache/nginx \
&& sed -e 's#/var/run/nginx.pid#/var/run/nginx/nginx.pid#' -i /etc/nginx/nginx.conf
USER nginx