docker_TP/TP4/nginx/default.conf

15 lines
341 B
Plaintext

server {
server_name tp4.iut.fr;
listen 80;
root /usr/share/nginx/html;
index index.php index.html;
location ~ \.php$ {
fastcgi_pass php:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}