Merged in feature/404multidev (pull request #28)

Feature/404multidev

* Fix socket location

* Fix socket location

* Fix socket location

* Fix socket location

* To fix sock file issue

* fix issues with clear_env = no

* Ondemand fpm and deploy update

* Merged develop into feature/404multidev
* Merged develop into feature/404multidev
* Add config map for www pool and supd


Approved-by: Rachit Bhargava
This commit is contained in:
Jay Sharma
2024-02-27 17:20:01 +00:00
committed by Rachit Bhargava
parent 26436a6c6d
commit f7484692e6
5 changed files with 205 additions and 7 deletions

View File

@@ -1,10 +1,10 @@
FROM wyveo/nginx-php-fpm:php74
RUN mkdir -p /var/lib/nginx/cache /usr/share/nginx/subdomain; cd /usr/share/nginx/subdomain ; mkdir www
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/php/7.4/fpm/php.ini
RUN rm /etc/php/7.4/fpm/php.ini
RUN rm /etc/php/7.4/cli/php.ini
COPY php.ini /etc/php/7.4/cli/php.ini
COPY php.ini /etc/php/7.4/fpm/php.ini