aboutsummaryrefslogtreecommitdiff
path: root/foto/nginx.conf
diff options
context:
space:
mode:
authorHorus32014-10-05 22:00:36 +0200
committerHorus32014-10-05 22:00:36 +0200
commit1851c3a180eafb4563a9f6e4dd40fcc5e925896a (patch)
tree7e3f2c85b7297bdeaf34fac2faf8424908c8bde5 /foto/nginx.conf
parent80fb01db10054baf2c4c6e70a677e429fe5c34ee (diff)
downloadjungegemeinde-1851c3a180eafb4563a9f6e4dd40fcc5e925896a.tar.gz
Experimental support for image uploading.
Diffstat (limited to 'foto/nginx.conf')
-rw-r--r--foto/nginx.conf4
1 files changed, 4 insertions, 0 deletions
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;
+ }