Page 1 of 1

Prevent image hotlinking / stealing from your site with nginx

Wojtek on nginx, image, hotlink · 07.07.2019 · Comments · 1 min read

Have you noticed other sites hotlinking to your images or other assets? Are they eating up your bandtwitch? Or you just want to proactively prevent that? If so, there's a very easy way to do so with a simple configuration on nginx. Open up nginx config file for your site and add another location block like this: server { # your normal... Read more »

Page 1 of 1

All your code are belong to us

All your code are belong to us

Thoughts, stories and ideas on code and technology in general.
Blog title inspired by this meme

Search

Recent posts

  • Configure local website on WSL2 with PHP and nginx 4 months ago
  • Upgrade Raspbian from Jessie to Stretch 8 months ago
  • Install any version of NodeJS and npm on Raspberry Pi 8 months ago
  • VueJS pass data and methods to child component a year ago
  • Check laptop battery health on Windows 10 a year ago
  • Custom linting rules in NuxtJS and eslint 2 years ago
All your code are belong to us © 2021
Proudly published with Ghost. Theme: Strider by Mataba and SixBytesUnder.