Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
haf_api_node
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
haf_api_node
Commits
be29f122
Commit
be29f122
authored
3 months ago
by
Eric Frias
Browse files
Options
Downloads
Patches
Plain Diff
Force nginx to parse and store the request body in a way that it can be logged
parent
84e6c0ff
No related branches found
Branches containing commit
Tags
1.27.7rc14
Tags containing commit
2 merge requests
!66
Merge develop to master for release
,
!59
Force nginx to parse and store the request body in a way that it can be logged
Pipeline
#112171
passed
3 months ago
Stage: publish
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drone/nginx.conf
+5
-2
5 additions, 2 deletions
drone/nginx.conf
with
5 additions
and
2 deletions
drone/nginx.conf
+
5
−
2
View file @
be29f122
...
@@ -49,13 +49,16 @@ http {
...
@@ -49,13 +49,16 @@ http {
server_name
_
;
server_name
_
;
location
/
{
location
/
{
access_log
/var/log/drone/access_log
api_log
buffer=32k
flush=5s
;
#
access_log /var/log/drone/access_log api_log buffer=32k flush=5s;
# switch to this to log in jsonl format instead
# switch to this to log in jsonl format instead
access_log
/var/log/drone/access_log.json
json_log
buffer=32k
flush=5s
;
access_log
/var/log/drone/access_log.json
json_log
buffer=32k
flush=5s
;
proxy_pass
http://drone
;
proxy_pass
http://drone
;
# Allow fast streaming HTTP/1.1 pipes (keep-alive, unbuffered)
# Allow fast streaming HTTP/1.1 pipes (keep-alive, unbuffered)
proxy_http_version
1.1
;
proxy_http_version
1.1
;
proxy_request_buffering
off
;
client_body_buffer_size
128k
;
# Adjust size as needed
proxy_request_buffering
on
;
client_body_in_single_buffer
on
;
proxy_buffering
off
;
proxy_buffering
off
;
#proxy_set_header forwarded 'by=\"_$hostname\";$for_addr;proto=$scheme;host=\"$http_host\"';
#proxy_set_header forwarded 'by=\"_$hostname\";$for_addr;proto=$scheme;host=\"$http_host\"';
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment