dmacleo
Verified User
- Joined
- Jun 21, 2012
- Messages
- 620
these will not work at all
have to edit the user conf file to:
now heres the issue, anytime anything is done those edited conf file gets over written.
cannot seem to find a way to enter rewrite rules in nginx here that persist.
location ~ \.php$
{
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include /etc/nginx/fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/nginx_limits.conf;
if (-f $request_filename)
{
fastcgi_pass unix:/usr/local/php55/sockets/convoice.sock;
}
}
# use fastcgi for all php files
location ~ \.php53$
{
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include /etc/nginx/fastcgi_params;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/nginx_limits.conf;
if (-f $request_filename)
{
fastcgi_pass unix:/usr/local/php53/sockets/convoice.sock;
}
}
}
have to edit the user conf file to:
for ipboard to work at all, even when NOT using furls in ipboard the base rules give page not found. the /page/ one is for when on of the addon modules (IP.Content) is installed.location / {
try_files $uri $uri/ /index.php;
}
location ~^(/page/).*(\.php)$ {
try_files $uri $uri/ /index.php;
}
now heres the issue, anytime anything is done those edited conf file gets over written.
cannot seem to find a way to enter rewrite rules in nginx here that persist.