Ajout d'une partie du TP4
This commit is contained in:
14
TP4/nginx/default.conf
Normal file
14
TP4/nginx/default.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user