run command: docker run --restart=always -itd -v /data/glpi:/data/glpi -p 10.0.0.0:9001:9000 --name php-fpm nmalarenko/php-fpm
/data/glpi - дирректория с приложением (в данном случае glpi)
nginx configuration:
location /glpi { root /data/; index index.php; location ~* .(html|jpg|jpeg|gif|png|css|js|ico|xml)$ { access_log off; log_not_found off; expires 360d; } location ~* .php$ { # include fastcgi.conf; include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_index index.php; fastcgi_pass 10.0.0.0:9001; } }
Content type
Image
Digest
sha256:2b3e7d4a5…
Size
103 MB
Last updated
about 11 years ago
docker pull nmalarenko/php-fpm