b

bash

santiago
Last active 3 hours ago bash nginx

Script to update home IP in nginx conf

0 0 1
1 #!/usr/bin/env bash
2
3 # ------------------------------------------------------------------------------
4 # This will either allow automically with allowed IP or ask for auth otherwise
5 # in /etc/nginx/sites-available/search.lema.org
6 # ------------------------------------------------------------------------------
7 # satisfy any;
8 # include /etc/nginx/home_allow.conf;
9 # auth_basic "Restricted";
10 # auth_basic_user_file /etc/nginx/.htpasswd;