Nginx variables in bash script
antonit last edited by antonit
I am currently writing a script to automate the process of installation and configuration of an Nginx web server. What I'd like to do is add variables where anyone can change the IP address and hostname to what they would like to. I am by no means a scripting expert and it's been a while since I had to write a script. I am looking how to do this in bash.
scottalanmiller last edited by
You can take them as arguments when you first run the script, that is the more "UNIX" way. Or you can prompt for them as you go.