ssl ldap update
This commit is contained in:
@@ -88,5 +88,11 @@ RUN luarocks install --tree lua_modules luaposix && \
|
||||
#USER www-data
|
||||
RUN mkdir -p /etc/resty-auto-ssl/storage/ \
|
||||
&& chown -R www-data /etc/resty-auto-ssl
|
||||
|
||||
RUN openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 \
|
||||
-subj '/CN=sni-support-required-for-valid-ssl' \
|
||||
-keyout /etc/ssl/resty-auto-ssl-fallback.key \
|
||||
-out /etc/ssl/resty-auto-ssl-fallback.crt
|
||||
copy ./conf/* /etc/nginx/conf.d/
|
||||
copy ./snippets/* /usr/local/openresty/nginx/conf/
|
||||
CMD ["/usr/local/openresty/bin/openresty", "-g" ,"daemon off;"];
|
||||
Reference in New Issue
Block a user