Utilise les images officielles mariadb, php et nginx
This commit is contained in:
31
devphp7/config/nginx.conf
Normal file
31
devphp7/config/nginx.conf
Normal file
@@ -0,0 +1,31 @@
|
||||
worker_processes 1;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
sendfile on;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
location / {
|
||||
root /var/www/html;
|
||||
autoindex on;
|
||||
index index.php index.html index.htm;
|
||||
}
|
||||
|
||||
# Pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
|
||||
location ~ \.php$ {
|
||||
root /srv/html/gevaulug.fr;
|
||||
fastcgi_pass php:9000;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;
|
||||
include fastcgi_params;
|
||||
}
|
||||
}
|
||||
}
|
1872
devphp7/config/php.ini
Normal file
1872
devphp7/config/php.ini
Normal file
File diff suppressed because it is too large
Load Diff
10
devphp7/config/xdebug.ini
Normal file
10
devphp7/config/xdebug.ini
Normal file
@@ -0,0 +1,10 @@
|
||||
[xdebug]
|
||||
zend_extension = xdebug.so
|
||||
xdebug.remote_enable=1
|
||||
xdebug.remote_port=9042
|
||||
xdebug.remote_host=172.17.0.1
|
||||
xdebug.remote_connect_back=1 # Not safe for production servers
|
||||
xdebug.remote_handler=dbgp
|
||||
xdebug.remote_mode=req
|
||||
xdebug.remote_autostart=true
|
||||
xdebug.remote_log="/var/log/xdebug/xdebug.log"
|
Reference in New Issue
Block a user