2 ms·
> ownCloud Infinite Scale neither requires Apache nor any PHP infrastructure I don't know much about production web services in Go, but is it true that they wo
by danpalmer 6y ago
> ownCloud Infinite Scale neither requires Apache nor any PHP infrastructure
I don't know much about production web services in Go, but is it true that they wouldn't need Apache?
I work on a site using Python/Gunicorn and Node behind Nginx, and Nginx is really doing a lot of critical stuff for us, normalising requests, preventing certain classes of security issues, DoS attacks, etc. I wouldn't expect that sort of protection to be built into Go's standard HTTP server?
- ThePhysicist 6y agoGo has good support for TLS and HTTP serving, so you can directly expose a Golang service to the Internet without a web server in front. Many people still choose to put nginx or caddy in front as a load balancer and TLS termination though.
- vbsteven 6y agoAs with most builtin language HTTP servers it is advised to run Nginx/Apache/Caddy in front of it. I think what they mean with PHP infrastructure is the specific configuration required to make Apache work with PHP, in the old days this was with an Apache plugin, or more recently the php-fpm project.