Was faced with the challenge today of setting an .onion URL to a user on the box, which I assumed would be pretty straight forward considering I've done it myself on my own sites (including the company site) with nginx, no problem.
I found that if I modifed the user's httpd.conf directly in the terminal, that restarting apache would overwrite it.
I then found a 'workaround' by editing
I will need to have the option to do what I did for this user to all of them, upon request if needed. What is the best way to add customer vhost entries to a user's httd.conf without them being overwritten? I searched and I can't seem to find what I am looking for specifically.
I found that if I modifed the user's httpd.conf directly in the terminal, that restarting apache would overwrite it.
I then found a 'workaround' by editing
/etc/httpd/conf/extra/httpd-vhosts.conf which probably isn't the best practice but it worked.I will need to have the option to do what I did for this user to all of them, upon request if needed. What is the best way to add customer vhost entries to a user's httd.conf without them being overwritten? I searched and I can't seem to find what I am looking for specifically.