docker_TP/TP4/nginx/default.conf

15 lines
341 B
Plaintext
Raw Permalink Normal View History

2024-03-17 11:31:57 +01:00
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;
}
}