-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PMM-13391 Expose vmlogs port, dont' replace nginx configs
- Loading branch information
Showing
8 changed files
with
59 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
build/ansible/roles/victorialogs/files/json_log_format.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
'time="$time_iso8601" ' | ||
'host=$http_host ' | ||
'remote_addr=$remote_addr ' | ||
'request_method=$request_method ' | ||
'request="$request_uri" ' | ||
'request_time=$request_time ' | ||
'body_bytes_sent=$body_bytes_sent ' | ||
'server_protocol="$server_protocol" ' | ||
'status=$status ' | ||
'http_referrer="$http_referer" ' | ||
'http_x_forwarded_for="$http_x_forwarded_for" ' | ||
'http_user_agent="$http_user_agent"'; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
build/ansible/roles/victorialogs/files/vlogs_location.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
location /vmui { | ||
proxy_pass http://127.0.0.1:9428/select/vmui; | ||
proxy_http_version 1.1; | ||
proxy_read_timeout 600; | ||
proxy_set_header Connection ""; | ||
} | ||
|
||
location /select/logsql { | ||
proxy_pass http://127.0.0.1:9428$request_uri; | ||
proxy_http_version 1.1; | ||
proxy_read_timeout 600; | ||
proxy_set_header Connection ""; | ||
} |
Oops, something went wrong.