Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

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;
          }
    }      
Docker Pull Command
Owner
nmalarenko

Comments (0)