Merged in feature/cache (pull request #13)
Feature/cache * cache-purge * cache-purge * fix conflicts * resolve merge conflicts
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
FROM wyveo/nginx-php-fpm:php74
|
||||
RUN mkdir -p /var/lib/nginx/cache /usr/share/nginx/subdomain; cd /usr/share/nginx/subdomain ; mkdir www
|
||||
COPY wp/ /usr/share/nginx/subdomain/www
|
||||
COPY ngx_http_cache_purge_module.so /usr/lib/nginx/modules/
|
||||
RUN sed -i 's/;pm.status_path/pm.status_path/g' /etc/php/7.4/fpm/pool.d/www.conf
|
||||
RUN sed -i -e '1iload_module modules/ngx_http_cache_purge_module.so;\' /etc/nginx/nginx.conf
|
||||
#RUN rm /etc/nginx/conf.d/default.conf
|
||||
#COPY build/default.conf /etc/nginx/conf.d/default.conf
|
||||
COPY redinessprobe-wp.sh /root/redinessprobe-wp.sh
|
||||
|
||||
Reference in New Issue
Block a user