From 1851c3a180eafb4563a9f6e4dd40fcc5e925896a Mon Sep 17 00:00:00 2001 From: Horus3 Date: Sun, 5 Oct 2014 22:00:36 +0200 Subject: Experimental support for image uploading. --- foto/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 foto/nginx.conf (limited to 'foto/nginx.conf') diff --git a/foto/nginx.conf b/foto/nginx.conf new file mode 100644 index 0000000..f6dbc71 --- /dev/null +++ b/foto/nginx.conf @@ -0,0 +1,4 @@ + + location /protected { + rewrite /protected/([a-zA-Z]+)/([a-zA-Z0-9]+)/?.* /protected.php?type=$1&id=$2 last; + } -- cgit v1.2.3