I'm trying to install WordPress + LEMP on my Ubuntu 18.04. I have no interest in installing Apache. Why does the PHP installer assume I do?
hejsan's questions
I'm using supervisord to handle some gevent based wsgi processes that simply run a django app.
When I upload files I want them to have rw permissions for user and group (www-data) and of course I want the folders to have execute permissions for user and group as well.
Normally a umask would subtrack from 777 for folders but 666 for files, however I find that setting the umask in a supervisor config results in the same permissions for files and folders, so when I set umask to 002, all the files uploaded get execute permissions. I also tried setting the umask to 113 but then I can't execute any folders.
I'm not 100% sure this is supervisors fault and not gevent or django related. Any ideas?
Originally my question was supposed to be more specific: "Can nconf (configuration webapp for nagios) be run on nginx"?
Being a developer I'm in love with nginx for it's low resource usage, customized builds, and simple and readable configuration, but part of my job is also system administration/setup so repeatability and ease of setup become much more important.
I've been finding myself jumping through hoops to get things to run properly under nginx as there is no standard "just add the mod-something module" solution, plus most of the good old administration apps we've become accustomed to, such as nagios, nconf etc. often list apache as a requirement which seems silly to me, because from a development standpoint the webserver serving your generated html/whatever output shouldn't dictate how you write your apps.
Serving nagios was not that terribly painful, I had to learn about fcgiwrap and php-fpm, but now I've hit a stumbling block with nconf as it depends on some perl modules and after installing those everything is hunky-dory in apache2 but still resulting in an un-logged 501 error in nginx. To run Redmine I had to make a custom build of nginx and because I wanted to use enterprise ruby I had to jump through some more hoops.
Should I just stop trying to use nginx for internal services and spend more time on gardening, or is there some awesome way to keep track of all these setup terrors so I can let my successor take over without a guilt ridden conscience?