ssl ldap update

This commit is contained in:
2021-05-23 20:41:15 +00:00
parent 86d221b4e7
commit 262af03935
7 changed files with 85 additions and 1 deletions

View File

@@ -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;"];