diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-01-09 10:55:03 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-01-09 13:09:38 +0100 |
| commit | 04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa (patch) | |
| tree | 5c691241355c943a3c68ddb06b8cf8c60aa11319 /srcs/conf/test.com | |
| parent | 7e0d85db834d6351ed85d01e5126ac31dc510b86 (diff) | |
| download | ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.gz ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.tar.bz2 ft_server-04d6d5ca99ebfd1cebb8ce06618fb3811fc1a8aa.zip | |
phpmyadmin working
Diffstat (limited to 'srcs/conf/test.com')
| -rw-r--r-- | srcs/conf/test.com | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/srcs/conf/test.com b/srcs/conf/test.com deleted file mode 100644 index dac8f88..0000000 --- a/srcs/conf/test.com +++ /dev/null @@ -1,24 +0,0 @@ -server { - listen 80; # listen all ip on port 80 (0.0.0.0:80) - root /var/www; # where to find files for location blocks - server_name localhost; # domain name - index index.php index.html; # files for empty uri - - # all uri - location / { - try_files $uri $uri/ =404; # if uri or uri/ not valid, 404 error - } - - # php files - location ~ \.php$ { - include snippets/fastcgi-php.conf; # include php fpm settings - fastcgi_pass unix:/var/run/php/php7.3-fpm.sock; # socket where php fpm is running - } - - # configuration files, deny access and no logs - location ~ /\. { - deny all; - access_log off; - log_not_found off; - } -} |
