Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get Simple on NGINX Security
#2
Nginx has its own rewrite rules.
You can try to block the directory, by adding to nginx.conf file
Code:
location /data/users/ {
  deny all;
}

There are also methods to do a link rewrites, instead of apache's rewrite nginx uses try_files directive.

I can't guarantee this will work. I've never touched nginx.
Somebody posted long time ago some rewrite rules for nginx.
Maybe they will be still working.
Addons: blue business theme, Online Visitors, Notepad
Reply


Messages In This Thread
Get Simple on NGINX Security - by tested0002 - 2012-03-19, 11:18:17
Get Simple on NGINX Security - by yojoe - 2012-03-19, 12:48:16
Get Simple on NGINX Security - by Zegnåt - 2012-03-19, 15:08:45
Get Simple on NGINX Security - by tested0002 - 2012-03-19, 18:33:21
Get Simple on NGINX Security - by Zegnåt - 2012-03-19, 18:53:23
Get Simple on NGINX Security - by marrco - 2012-03-19, 18:53:38



Users browsing this thread: 1 Guest(s)