diff --git a/.theia/settings.json b/.theia/settings.json new file mode 100644 index 0000000..a1e56a5 --- /dev/null +++ b/.theia/settings.json @@ -0,0 +1,3 @@ +{ + "workbench.colorTheme": "light" +} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 1ce17d6..a85a939 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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;"]; \ No newline at end of file diff --git a/nginx.conf b/nginx.conf index 5c35a02..4145e18 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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.