In my Nginx setup I would like to password protect some website, except when I access it from my ip at home. How do I set this up?
Also, except for getting access to my home pc, is this safe?
In my Nginx setup I would like to password protect some website, except when I access it from my ip at home. How do I set this up?
Also, except for getting access to my home pc, is this safe?
After long searching I found it myself.
When satisfy_any is put on "Directive solves access with at least one successful checking, executed by modules HttpAccessModule or HttpAuthBasicModule"
(
satisfy any
is the new syntax,satisfy_any
threw a warning. The documentation I can't find however)