From 307bc83ad777adf5abd28c7ff6564acabe87dd76 Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Wed, 14 Nov 2012 17:19:06 -0300 Subject: Missing PKGBUILDs --- ~fauno/spawn-fcgi-php/public_html.conf.example | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ~fauno/spawn-fcgi-php/public_html.conf.example (limited to '~fauno/spawn-fcgi-php/public_html.conf.example') diff --git a/~fauno/spawn-fcgi-php/public_html.conf.example b/~fauno/spawn-fcgi-php/public_html.conf.example new file mode 100644 index 000000000..74f6c2b4b --- /dev/null +++ b/~fauno/spawn-fcgi-php/public_html.conf.example @@ -0,0 +1,16 @@ +location ~ ^/~([^/]+)(/?.*)$ { + set $username $1; + alias /home/$1/public_html/$2; + autoindex on; + location ~ \.php { + #fastcgi_pass 127.0.0.1:9000; + # or for multiusers, one port per user + fastcgi_pass 127.0.0.1:$port; + # or for unix domain sockets + #fastcgi_pass unix:/var/run/spawn-fcgi/spawn-fcgi.$username.sock; + fastcgi_index index.php; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + include /etc/nginx/conf/fastcgi_params; + } +} +# vi: ft=nginx -- cgit v1.2.3