3 ms·
I use Apache too (it's all I've ever known), and run a few Go web apps. Everyone lives quite peacefully together. With Apache, I just set up a simple reverse pr
by burntsushi 14y ago
I use Apache too (it's all I've ever known), and run a few Go web apps. Everyone lives quite peacefully together. With Apache, I just set up a simple reverse proxy.
Here's an example of one I use to run my own `godoc` server:
<VirtualHost *:80>
ServerAdmin admin@burntsushi.net
ServerName godoc.burntsushi.net
ProxyPreserveHost On
ProxyPass / http://burntsushi.net:8080/
ProxyPassReverse / http://burntsushi.net:8080/
</VirtualHost>
- deleted 14y ago[deleted]
- laumars 14y agoNice idea. I might try that before dipping my toes into Nginx
- burntsushi 14y agoYeah, it's a nice holdover. I keep hearing great things about Nginx though. Someday I'll have time to check it out :-)