Categories
Tags
aether-subs akane-iro ni somaru saka archlinux bakemonogatari canaan clannad danbooru diablo ii eden* ef - a fairy tale of the two fate/stay night freebsd fullmetal alchemist google chrome hayate no gotoku k-on! kalafina kara no kyoukai koihime musou linux maria+holic moefetch nginx nogizaka haruka no himitsu openbsd opensolaris php saimoe saki strike witches tarski tears to tiara time of eve toaru majutsu no index toheart2 toradora! ubuntu virtualbox windows wordpress yakushiji ryoko no kaiji jikenbo yoake mae yori ruri-iro na yoku wakaru gendai mahou zero no tsukaima zfsBlogroll
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
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
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
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
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
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
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