Index Not Found
Installation and Configuration
I had a little time over the last couple days and got an nginx setup running. JR works with this as the nginx config:
server {
listen 80 default_server;
listen [::]:80 default_server ipv6only=on;
client_max_body_size 256M;
root /usr/share/nginx/html;
server_name ubuntu.jamroom.net;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
location @rewrite {
rewrite ^(.*)$ /modules/jrCore/router.php?_uri=$1 last;
}
location / {
autoindex on;
index index.html index.php sitemap.xml /modules/jrCore/router.php;
try_files $uri $uri/ @rewrite;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
However the INDEX page will not work until I get the next beta out - there's a small tweak in the core router that is needed for nginx since it sets it uses a slightly different URI on the index than Apache.
Also - change this:
server_name ubuntu.jamroom.net;
to use your actual domain name. I believe that is working 100%.
Hope this helps!
updated by @brian: 12/26/15 05:30:30AM