aboutsummaryrefslogtreecommitdiff
path: root/foto/nginx.conf
diff options
context:
space:
mode:
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;
+ }