mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-03 15:45:43 +00:00
add nginx-php image
This commit is contained in:
6
nginx-php/rootfs/nginx/conf.d/php.conf
Normal file
6
nginx-php/rootfs/nginx/conf.d/php.conf
Normal file
@ -0,0 +1,6 @@
|
||||
location ~ \.php$ {
|
||||
fastcgi_index index.php;
|
||||
fastcgi_pass unix:/php/run/php-fpm.sock;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
include /nginx/conf/fastcgi_params;
|
||||
}
|
Reference in New Issue
Block a user