From 23b191343e12fb384d0e8ba2a1af19ade8c1f7eb Mon Sep 17 00:00:00 2001 From: tianyu Date: Thu, 23 Jul 2015 10:14:36 +0800 Subject: [PATCH] Create nginx.config.remote.example --- net/youtube/nginx.config.remote.example | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 net/youtube/nginx.config.remote.example diff --git a/net/youtube/nginx.config.remote.example b/net/youtube/nginx.config.remote.example new file mode 100644 index 0000000..a7f3f2e --- /dev/null +++ b/net/youtube/nginx.config.remote.example @@ -0,0 +1,9 @@ +location /path/to/youtube.php { + auth_basic "Authentication required"; + auth_basic_user_file /etc/nginx/.dlpasswd; +} + +location /path/to/rm.php { + auth_basic "Authentication required"; + auth_basic_user_file /etc/nginx/.dlpasswd; +}