Tag Archives: nginx

Random information

I updated my other blog (well, not really a blog – more like collection of articles. Or at least I tried to write them as one.
Will run a series of basics of nginx  this whole months…

Posted in news, random | Leave a comment

Better Autoindex with nginx/php

Using capability of nginx.
Basically, add this block
location @lister
{
fastcgi_pass … Continue reading 

Posted in software, tnt, web | Also tagged | 4 Comments

nginx/wordpress

No, sir, this is not the proper way. In fact, usage of if (!-e $request_filename) is generally not recommended and should be avoided whenever possible.
You should use something like this instead:
try_files $uri $uri/ /path/to/blag/index.php;
also read this for method on using … Continue reading 

Posted in software, tnt, web | Also tagged | Leave a comment

nginx/mod_userdir: take 4

Many thanks to the creator himself (Igor Sysoev) for the tips.

Posted in software, tnt | 2 Comments

nginx/mod_userdir: take 3

After my first, and second attempt, which works but not quite right, here’s my latest attempt at creating mod_userdir-like on nginx. I finally give up in using unified .php block and decided to create separate file to handle .php:
Update: better … Continue reading 

Posted in software, tnt, web | Also tagged | Leave a comment

nginx/mod_userdir: take 2

My previous attempt is pretty much a fail. It works but it shouldn’t be done that way.
Here be updated version to imitate mod_userdir functionality in nginx – pointing /~username to correct path. Complete with php(-cgi) handler.
upstream php-cgi {
 … Continue reading 

Posted in software, tnt | Also tagged | 2 Comments

Random things about OS and Web Server

This one is sure NOT how you should name your program.
Well, functionality-wise, it looks good. I will try it sometime next week since REE/passenger setup is PITA in term of management. Not to mention there’s annoying bug regarding kill -HUP … Continue reading 

Posted in random, software | Also tagged , , , , | Leave a comment

nginx.conf for danbooru+passenger/mongrel

In this I assumed that passenger’s nginx is running on another server/instances/port. It’s a waste of memory, but my current setup forced me to do this.
upstream passenger {
server 10.0.0.9:8000;
}
server {
 … Continue reading 

Posted in software, tnt, web | Also tagged | Leave a comment

Coming one day: animeBSD Wiki (also in this post: nginx init script)

Probably. One day.
It’ll be more like personal notepad though.
That is, after I finished creating theme for this blog(?).
In the meantime, have this init script for nginx on OpenSolaris:

Posted in news, random, software, tnt | Leave a comment

MediaWiki with nginx

If you’re planning to enable rewrite for MediaWiki using nginx, make sure to follow instruction for lighttpd on the MediaWiki’s wiki instead of the one in nginx’s wiki. Of course you need to adjust the rewrite but its regex is … Continue reading 

Posted in tnt, web | Also tagged | 2 Comments