nginx user www-data
This commit is contained in:
@@ -84,8 +84,9 @@ RUN luarocks install --tree lua_modules luaposix && \
|
||||
luarocks install --tree lua_modules etlua && \
|
||||
luarocks install --tree lua_modules luafilesystem && \
|
||||
luarocks install lua-resty-auto-ssl
|
||||
|
||||
#RUN useradd -ms /bin/bash www-data
|
||||
#USER www-data
|
||||
RUN mkdir /etc/resty-auto-ssl #\
|
||||
#&& chown www-data /etc/resty-auto-ssl
|
||||
&& chown -R www-data /etc/resty-auto-ssl
|
||||
|
||||
CMD ["/usr/local/openresty/bin/openresty", "-g" ,"daemon off;"];
|
||||
Reference in New Issue
Block a user