title: How to get referrer URL when visitors coming from HTTPS websites as Google
body: <p>When visitors are coming from HTTPS Websites i can't get URL referrer, i want to do this to prevent users whose redirected from a specific HTTPS Websites, so im asking you if is there any possibility to do this from NGINX website configuration.</p>
  
  <p>Prevention is successfully done when users come from HTTP web sites.
  this is my NGINX configuration :</p>
  
  <pre><code>server {
  
  listen 80;
  server_name .....
  .....
  
  location / {
  if ($http_referer ~* (www.website.com) ) {
   return 500;
   }
  }
  ...
  </code></pre>