Add fileserver

This commit is contained in:
Isaac Shoebottom 2023-06-23 23:11:48 -03:00
parent ae27c742ad
commit a16ea0b22f

View File

@ -101,6 +101,13 @@ server {
sendfile on; sendfile on;
alias /home/isaac/Media/Host; alias /home/isaac/Media/Host;
} }
# File server subdirectory
location /files {
alias /home/isaac/FileServer;
index index.php;
}
} }
server { server {
# Redirect http to https # Redirect http to https