Nginx config generation issues
Currently we have /var/www/html/nginx.conf
being generated by ccclient
setup. This isn't an idiomatic place to run nginx configs from, which I'm currently working around by including include /var/www/html/nginx.conf;
in the boostrapping webserver configuration. The better place for Nginx on Debian-based systems would be /etc/nginx/sites-enabled/creditcommons.conf
.
-
document the process of loading the generated nginx config; or change output directory to be under /etc
if this configuration path is consistent across all platforms these days.
A few other things to take care of as well:
-
Make the FastCGI handler configurable for nginx (mine is unix:/var/run/php-fpm.sock
) -
Some issue in the config statements seems to be leading to 'white screen of death' (see https://gitlab.com/credit-commons-software-stack/credit-commons-microservices/-/merge_requests/4)
Edited by pospi