Update php

This commit is contained in:
Isaac Shoebottom 2023-06-23 23:32:24 -03:00
parent 998e010bee
commit b1f47ce28d

View File

@ -102,18 +102,17 @@ server {
alias /home/isaac/Media/Host;
}
# Enable PHP
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
}
# File server subdirectory
location /files {
alias /home/isaac/FileServer;
index index.php;
}
# Enable php for file server only
location ~ /files/.*\.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
}
}
server {