nginx user www-data
This commit is contained in:
3
.theia/settings.json
Normal file
3
.theia/settings.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"workbench.colorTheme": "light"
|
||||
}
|
||||
@@ -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;"];
|
||||
@@ -16,7 +16,7 @@
|
||||
# See https://github.com/openresty/docker-openresty/blob/master/README.md#nginx-config-files
|
||||
#
|
||||
|
||||
#user nobody;
|
||||
user www-data;
|
||||
#worker_processes 1;
|
||||
|
||||
# Enables the use of JIT for regular expressions to speed-up their processing.
|
||||
|
||||
Reference in New Issue
Block a user