Skip to content

Instantly share code, notes, and snippets.

@lindwurm
Created December 30, 2020 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lindwurm/9dde4de6244bfb08f36e931915aa8a77 to your computer and use it in GitHub Desktop.
Save lindwurm/9dde4de6244bfb08f36e931915aa8a77 to your computer and use it in GitHub Desktop.
location / {
# mente
allow xx.xxx.xxx.xxx;
deny all;
try_files $uri @proxy;
}
error_page 403 =503 /mente.html;
location = /mente.html {
internal;
allow all;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment