Skip to content

Commit 6eb3a9b

Browse files
committed
fix nginx not connecting to php port 9000
1 parent 377f24f commit 6eb3a9b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nginx/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
55
ADD nginx.conf /etc/nginx/
66
ADD laravel.conf /etc/nginx/sites-available/
77

8-
RUN echo "upstream php-upstream { server php:9000; }" > /etc/nginx/conf.d/upstream.conf
8+
RUN echo "upstream php-upstream { server php-fpm:9000; }" > /etc/nginx/conf.d/upstream.conf
99

1010
RUN usermod -u 1000 www-data
1111

0 commit comments

Comments
 (0)