mirror of
https://github.com/tufanbarisyildirim/gonginx.git
synced 2026-04-27 00:35:51 +03:00
[GH-ISSUE #54] How to keep the data in multi-line configuration #27
Labels
No labels
bug
enhancement
good first issue
pull-request
question
v2
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gonginx#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ssz1025 on GitHub (Oct 31, 2024).
Original GitHub issue: https://github.com/tufanbarisyildirim/gonginx/issues/54
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for" "$request_time" "$host" ';
My original nginx configuration is multi-line, and after parsing it, it becomes one line. How to keep the data in multi-line configuration;
Note: The spaces and line breaks I use are\t \n
@mofantor commented on GitHub (Dec 15, 2024):
regarding this request, I have already submitted a PR:
#54 Keep parameters in their relative lines when in multi-line configuration.
check it out
@tufanbarisyildirim commented on GitHub (Dec 18, 2024):
thanks @mofantor , let's polish it and we merge