prepare organizr, move conf files to folders, add yes to pkg commands

This commit is contained in:
kjeld Schouten-Lebbing
2020-02-24 16:00:03 +01:00
parent 51ed8edcf8
commit 0d1af41bb9
4 changed files with 54 additions and 3 deletions

30
organizr-conf/nginx.conf Normal file
View File

@ -0,0 +1,30 @@
user www;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
root /usr/local/www/Organizr;
location / {
index index.php index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/local/www/nginx-dist;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $request_filename;
include fastcgi_params;
}
}
}