Skip to content

Instantly share code, notes, and snippets.

View daminebenq's full-sized avatar
🇹🇳
How long ? not long ! Because what you reap is what you sow.

Mohamed Amine Ben Salah daminebenq

🇹🇳
How long ? not long ! Because what you reap is what you sow.
View GitHub Profile
@daminebenq
daminebenq / add-domain.sh
Last active May 26, 2021 22:40 — forked from daminebenz/add-domain.sh
add-domain.sh - nginx
#!/bin/bash
# Info
# ---
# script can run with the domain as a command line input
# `sudo ./add-domain.sh your-new-domain.com` or without and
# the script will prompt the user for input
#config
web_root='/usr/share/nginx'