Nginx variables in bash script



  • 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.


  • Service Provider

    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.



Looks like your connection to MangoLassi was lost, please wait while we try to reconnect.