:: Setup XFileSharing on NGINX
Posted by blackonsole on May 14th, 2012 06:44 AM | No Comment
:: How to setup XFileSharing with NGINX
+ installing and setup fcgiwrap for nginx
+ create fastcgi socket
add these line:
run the script
+ setup XFileSharing on NGINX
add these line:
+ testing configure file and reload nginx
+ installing XFileSharing
make sure your cgi-bin under htdocs folder, ...
:: NGINX: [emerg] directive “rewrite” is not terminated by “;”
Posted by blackonsole on May 8th, 2012 07:19 PM | 2 Comments
:: Error when reload / restart nginx
in line 15 use { and } characters in the regular expressions conflict with the block delimiter of the Nginx configuration file syntax language, some like:
If you want to write a regular expression pattern ...
:: NGINX : Redirect to external URL
Posted by blackonsole on May 7th, 2012 12:05 PM | No Comment
:: How to redirect to external url on NGINX
+ create configure file
added configuration like these:
+ testing configure file and reload nginx
:: Links
+ Google
+ Snipt
:: Cron: Auto restart daemon if it down
Posted by blackonsole on May 7th, 2012 04:20 AM | No Comment
:: How to create script for auto restart daemon if it down
+ create auto restart daemon script (nginx)
add the script, like these:
#!/bin/bash
alwaysup=ps aux | grep -v grep | grep -c nginx
if
then
/etc/init.d/nginx ...
:: Nginx: wordpress permalinks
Posted by blackonsole on April 30th, 2012 11:25 AM | No Comment
:: How to setup wordpress permalinks on nginx
+ edit virtualhost file
+ add wordpress permalink setup on location / {}
+ testing configure and reload nginx
:: Links
+ Google
+ Stackoverflow
:: Nginx: enable gzip compression
Posted by blackonsole on April 29th, 2012 05:31 AM | No Comment
:: How to enable gzip compression on nginx
+ configure nginx.conf
add / setup compression for nginx:
+ testing configuration and reload nginx
:: Links
+ Google
+ DevCha