Angel

Angel

Under review

Currently the Nginx provided by Ploi is limited for some projects that require a full custom nginx solution. There are some thing that can be done to improve this and I think they should be easy to do. This a list of those small things:

  • Add an editor, similar to the one for the site nginx files, to the server nginx files, nginx.conf, conf.d folder mainly.
  • On the HTTP context on nginx.conf, everything is written there, so the only way to modify those, is to edit the nginx.conf file directly. Replacing those options with "includes" to specific files (on conf.d folder or another folder?) will help to override some of those settings, without modifying all of them. For example, Basic Settings, could go into basics.conf, ssl settings into ssl.conf and Logs (this is an important one) could go into logging.conf. This combined with the first request will allow to edit the files really easy without loosing compatibility with ploi.
  • On the server context for each site (and I know we can edit those now), it will also help if the SSL cypher could be a different conf file, so we can easy edit the cypher and those settings without modifying the default server file.

There is another problem here about what happens on those files when using letsencrypt with ploi, but that is another discussion about www/nonwww, redirections, and other stuff. :)

Summary, allowing to edit nginx main files and separating the default config into some files will make easier to customise our own nginx installation but still being able to manage it with ploi.

Angel

Angel

· ·

This other feature that would be nice is to extend de template system that we have for the server nginx config for a site and add a template for files located on the before and after folders. This way we could use the variables for domain and others into custom files for each site.

no votes yet

You may use @ to mention someone.

Improve NGINX customization

1 total vote
Angel
  • Dennis moved item to board Under review

    2 months ago
  • Angel moved item to project Panel Requests

    2 months ago
  • Angel created the item

    2 months ago