phpearth / docker-php

🐳 Docker For PHP developers - Docker images with PHP, Nginx, OpenLiteSpeed, Apache, Lighttpd, and Alpine
https://docs.php.earth/docker
MIT License
261 stars 80 forks source link

Primary script unknown #37

Open edugsdf opened 4 years ago

edugsdf commented 4 years ago

2019-08-12_183655_app1 local

I use the duplicator to clone my site for local environment. When installing, it says it does not have write permission to the directory

docker-compose.yml:

version: '3.3'

services:
  app:
    image: phpearth/php:7.3-nginx
    volumes:
      - ./public_html:/var/www/html
    environment:
      - VIRTUAL_HOST=app1.local

networks:
  default:
    external:
      name: net-lemp

At the server console shows this: [error] 15#15: *15 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.18.0.1, server: _, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "172.18.0.5" Can you help me?