Skip to content
Snippets Groups Projects
Commit 4f2500d7 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

in our cluster php-fpm is available under localhost

parent 2287a0b0
No related branches found
No related tags found
2 merge requests!1541Development,!1534Resolve "Optimize Deployment"
...@@ -60,6 +60,7 @@ RUN sed -i 's/;error_log = log\/php7\/error.log/error_log = \/dev\/stdout/g' /et ...@@ -60,6 +60,7 @@ RUN sed -i 's/;error_log = log\/php7\/error.log/error_log = \/dev\/stdout/g' /et
COPY config/nginx.conf /etc/nginx/nginx.conf COPY config/nginx.conf /etc/nginx/nginx.conf
COPY config/nginx-default.conf /etc/nginx/conf.d/default.conf COPY config/nginx-default.conf /etc/nginx/conf.d/default.conf
RUN sed -i 's/fastcgi_pass phpfpm:9000;/fastcgi_pass localhost:9000;/g' /etc/nginx/conf.d/default.conf
COPY --chown=root:nginx . /html COPY --chown=root:nginx . /html
WORKDIR /html WORKDIR /html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment