I was looking at an old chef recipe that was built on the assumption that you could retrieve content/binaries from public html file on apache under port 80 in a virtual path.
I did a little looking around at nginx.conf and it seems that the default nginx.conf has no public path to serve content from anymore.
I read some documentation about how to create a public location in nginx, but I was struggling to make it work.
I’m thinking SCP might be a better idea anyway, since nodes are in the same private subnet, but was curious how to modify nginx.conf and restart/reload nginx in a way that would open up some other mount point to public download.
Is serving content (large binaries) from public html location a bad idea?
Given the rest of the nginx configuration for chef manage, can someone share a snippet of an nginx conf they use for sharing content publically that works? I tried to create a new server in the nginx.conf on a different port pointing to a server mounted file location, but couldn’t make it work.