mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 01:05:42 +03:00
Merge pull request #17927 from JuniorJPDJ/patch-1
This commit is contained in:
commit
503995270c
1 changed files with 6 additions and 0 deletions
|
@ -35,3 +35,9 @@ 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
|
||||
|
|
Loading…
Reference in a new issue