Enable php
This commit is contained in:
parent
a16ea0b22f
commit
998e010bee
@ -102,12 +102,19 @@ 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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
server {
|
||||
# Redirect http to https
|
||||
|
Loading…
Reference in New Issue
Block a user