'add_apache_comments' does not work for nginx-configs

flexjoly

Verified User
Joined
Nov 2, 2016
Messages
86
Location
Apeldoorn, Netherlands
Hi,

https://www.directadmin.com/features.php?id=1430 says:
New directadmin.conf option add_apache_comments to prevent DA adding all #comments from the user httpd.conf files.

So I added: 'add_apache_comments=0' to directadmin.conf
Restarted DA
/build rewrite_confs

But all comments are still inside the nginx-configs.

Am I doing something wrong? Else it would be nice to have this feature working for the other webservers also.

If I may add some feature-requests to this:
  • It would be nice to have something like debug-comments.... that are NOT disabled.
  • Or a 'is-debug-comments'-toggle in the custom httpd-panel which temporarily show the comments for debug purposes.
  • And an automaticly generated comment-line with the used template/file > now I put this inside many custom-files to have better debug insight.

Thanks in advance,
flexJoly
 
Last edited:
Back
Top