mirror of
https://github.com/bitnami/containers.git
synced 2026-10-19 03:49:23 +02:00
Get php-fpm working, and add nginx vhost template for php-fpm
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
server {
|
||||
listen 0.0.0.0:80;
|
||||
server_name local.yourapp.com;
|
||||
|
||||
root /app;
|
||||
|
||||
location / {
|
||||
index index.php;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
fastcgi_pass [PHP_FPM_LINK_NAME]:9000;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi.conf;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user