Hey guys. I'm a bit confused about the crontab used to clean the nginx_client in the /tmp folder. It simply does not work. And further more after I clean the folder with find . -name '*' | xargs rm and check if it's empty or not the system still shows a 78% load in it :| Any clues on why this might happen? The crontab setting is correct.. I just changed the default 4 hours to 1 hour: ----by CrazyDogster - Migration from Other Servers
Ok.. found some answers and I'm gonna share them with you.. maybe it helps: ---- What I found is that if the request is for a static file nginx doesn't pass this to Apache and serves this file directly.. this is why when messing with the .htaccess there was no error when requesting the URL with index.html in it. The rewrite and redirect rules must be set in the server { } block and it is pretby CrazyDogster - Migration from Other Servers
Hey guys. From what I see if I write in the /etc/nginx/vhosts/default the effect will be server wide contrary to per domain confs. I can't seem to know how to write a rule to redirect from /index.html or /dir/index.html ro / or /dir/ to have server wide effects. The thing is that running on CentOS makes files in /home/user/public_html and from nginx I can't see the user part to use it in theby CrazyDogster - Migration from Other Servers
Hello everyone. My problem is like this: - I now use nginx in front of Apache server wide meaning all my websites - all the rewrites I have in the .htaccess file work perfect, except 1 and up so far noone managed to give me a solution This is the .htaccess rule ------------- RewriteCond %{THE_REQUEST} ^.*/index\.(html|htm)\ HTTP/ RewriteRule ^(.*)index\.(html|htm)$ http://%{HTTP_HOSby CrazyDogster - Migration from Other Servers