Update php
This commit is contained in:
parent
998e010bee
commit
b1f47ce28d
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user