Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 21ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
n

nginx

Recently created Least recently created Recently updated Least recently updated
santiago

santiago / /etc/nginx/update-home-ip.sh

Last active 1 hour 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;