Skip to content

Commit

Permalink
Renamed php_fpm as php
Browse files Browse the repository at this point in the history
  • Loading branch information
programarivm committed Jul 31, 2024
1 parent 37dde16 commit c78561e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker-compose.default.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: "3.8"

services:
php_fpm:
php:
build: .
container_name: chess_website_php_fpm
container_name: chess_website_php
restart: always
volumes:
- ./:/usr/share/nginx/website
Expand Down
2 changes: 1 addition & 1 deletion docker/nginx/conf.d/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ server {
}

location ~ ^/.+\.php(/|$) {
fastcgi_pass php_fpm:9000;
fastcgi_pass php:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
Expand Down

0 comments on commit c78561e

Please sign in to comment.