揮発性のメモ2

http://d.hatena.ne.jp/iww/

2014-03-28から1日間の記事一覧

NGINXでCGIにもBASIC認証をかける

. |-- index.html |-- hutsu.html |-- normal.cgi `-- admin |-- index.html |-- himitsu.html `-- special.cgi拡張子cgiをfastcgiで動かしつつ、adminの下にはBASIC認証をかけたい。 server { # fastcgiパラメータ読み込み include /etc/nginx/fastcgi_para…