aboutsummaryrefslogtreecommitdiff
path: root/srcs/conf
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-12-02 15:58:07 +0100
committerCharles <sircharlesaze@gmail.com>2019-12-02 15:58:07 +0100
commitc59bdcf77c50cbe89b4a93782cdd6d9e7532080e (patch)
tree923d21194a3b0cf889ca31c36ea0befe2d3890b9 /srcs/conf
parent88e0fc1862241ce15f9bf6d6edef9bc0a0a075e1 (diff)
downloadft_server-c59bdcf77c50cbe89b4a93782cdd6d9e7532080e.tar.gz
ft_server-c59bdcf77c50cbe89b4a93782cdd6d9e7532080e.tar.bz2
ft_server-c59bdcf77c50cbe89b4a93782cdd6d9e7532080e.zip
basic php server
Diffstat (limited to 'srcs/conf')
-rw-r--r--srcs/conf/test.com4
1 files changed, 2 insertions, 2 deletions
diff --git a/srcs/conf/test.com b/srcs/conf/test.com
index cf734e1..2331b3b 100644
--- a/srcs/conf/test.com
+++ b/srcs/conf/test.com
@@ -1,7 +1,7 @@
server {
listen 80;
root /var/www/html;
- index index.php;
+ index index.php index.html index.htm index.nginx-debian.html;
server_name test.com;
location / {
@@ -11,7 +11,7 @@ server {
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass
- unix:/var/run/php/php7.2-fpm.sock;
+ unix:/var/run/php/php7.3-fpm.sock;
}
location ~ /\.ht {