httpd configuration: custom pre/post not shown

flexjoly

Verified User
Joined
Nov 2, 2016
Messages
60
Location
Apeldoorn, Netherlands
change httpd configuration with custom-files

Hi,

At first our compliments on the very nice skin and the nice features!

Only the httpd-config is a bit less intuitive.
It is not easy to see which custom (1-4) you are editing currently.
The token-popup is not on the edit-page (/admin/custom-httpd/<domain>/nginx/customize/custom1).
And the custom- pre/post files are not shown in the edit-page any more.
And the custom-files in the token-popup are almost unreadable because it does not wrap the text but shows many '\n' and '\r'.

We use the .pre and .post custom files to preset and use tokens.

Example:
custom.pre
Code:
|?DEBUG_LOG=#change to 1 to get nginx debug info in the error-log|
|?DEBUG_LOG=0|
custom.post
Code:
|*if DEBUG_LOG="1"|
error_log /var/log/nginx/domains/|DOMAIN|.error.log debug;
|*endif|
Now first I have to search in the all-tokens popup in the previous screen(!) where I have to set my debug-log parameter to 1.

I would help a lot if:
- the tokens-popup is visible in the edit-page
- the pre-/post- custom-files are shown in the edit-page (with good line-wrapping)
- the current custom-part is better highlighted


I hope you understand what I mean, because I find it hard to explain :confused::rolleyes:

Thanks in advance,
Lydia
 
Last edited:

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,329
Location
LT, EU
"View all available tokens" has been added. "- the current custom-part is better highlighted" - may you send us a screenshot? We'll be looking into pre-/post- custom file request soon. Thank you!
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,329
Location
LT, EU
If you have some suggestions for the current version - yes :) If everything works as expected - no.
 
Top