Score:0

How i will do ngx_http_referer_module with dynamic referer list?

jp flag

I want to do referer request 403 if not included in domain list from php or file. Is it possible?

Example Nginx.conf:

 server_name google.com facebook.com twitter.com

 valid_referers server_names;

 if ($invalid_referer) {
          return 403;
 }

i want to do this server_name dynamic from php or file.

us flag
You cannot define `server_name` dynamically.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.