Allow env to come through nginx workers

This commit is contained in:
Kai Hendry
2016-08-30 22:29:20 +08:00
parent 51e944b455
commit e93f21c4e1
2 changed files with 4 additions and 6 deletions

View File

@@ -20,6 +20,8 @@ ADD nginx.conf /etc/nginx/nginx.conf
ADD php-fpm.ini /etc/supervisor.d/php-fpm.ini
ADD nginx.ini /etc/supervisor.d/nginx.ini
RUN echo "clear_env = no" >> /etc/php/php-fpm.conf
RUN mkdir -p /srv/http/u
RUN chmod -R 777 /srv/http/u