mirror of
https://github.com/10h30/ols-docker-env.git
synced 2026-05-12 23:31:35 +09:00
add hook, fix demo script
This commit is contained in:
@@ -21,6 +21,8 @@ RUN apt-get install -y software-properties-common && \
|
||||
apt-get update && \
|
||||
apt-get install -y certbot python-certbot-apache
|
||||
|
||||
RUN sed 's/0.*.certbot/& --deploy-hook "\/usr\/local\/lsws\/bin\/lswsctrl restart"/g' /etc/cron.d/certbot
|
||||
|
||||
RUN rm -rf /usr/local/lsws/conf
|
||||
ADD conf /usr/local/lsws/conf
|
||||
RUN chown 999:999 /usr/local/lsws/conf -R
|
||||
|
||||
Reference in New Issue
Block a user