Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Nginx log postdata #82

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Nginx log postdata #82

wants to merge 2 commits into from

Conversation

procrastinatio
Copy link
Contributor

@procrastinatio procrastinatio commented Apr 10, 2018

  • logging POST data
  • different config for different environments
10.220.4.168 - - [10/Apr/2018:16:36:14 +0000] "GET /backend_checker HTTP/1.1" 200 2 "-" "ELB-HealthChecker/2.0"
10/04/2018 18:36:1510.220.4.168 - - [10/Apr/2018:16:36:15 +0000] "POST /print/create.json?url=http%3A%2F%2Fservice-print.dev.bgdi.ch%2Fprint HTTP/1.1" 200 84 "https://map.geo.admin.ch" "Zorba is debugging the print server" "{\x22layout\x22:\x221 A4 landscape\x22,\x22srs\x22:\x22EPSG:2056\x22,\x22units\x22:\x22m\x22,\x22rotation\x22:0,\x22app\x22:\x22config\x22,\x22lang\x22:\x22fr\x22,\x22dpi\x22:\x22150\x22,\x22layers\x22:[{\x22opacity\x22:1,\x22layer\x22:\x22ch.swisstopo.pixelkarte-farbe\x22,\x22type\x22:\x22WMTS\x22,\x22version\x22:\x221.0.0\x22,\x22requestEncoding\x22:\x22REST\x22,\x22formatSuffix\x22:\x22jpeg\x22,\x22style\x22:\x22default\x22,\x22dimensions\x22:[\x22TIME\x22],\x22params\x22:{\x22TIME\x22:\x22current\x22},\x22matrixSet\x22:\x222056\x22,\x22baseURL\x22:\x22https://wmts100.geo.admin.ch\x22,\x22zoomOffset\x22:0,\x22tileOrigin\x22:[2420000,1350000],\x22tileSize\x22:[256,256],\x22resolutions\x22:[4000,3750,3500,3250,3000,2750,2500,2250,2000,1750,1500,1250,1000,750,650,500,250,100,50,20,10,5,2.5,2,1.5,1,0.5,0.25],\x22maxExtent\x22:[2420000,1030000,2900000,1350000]}],\x22qrcodeurl\x22:\x22https://api3.geo.admin.ch/qrcodegenerator?url=https%3A%2F%2Fmap.geo.admin.ch%2F%3Flang%3Dfr%26topic%3Dech%26bgLayer%3Dch.swisstopo.pixelkarte-farbe%26layers%3Dch.swisstopo.zeitreihen%2Cch.bfs.gebaeude_wohnungs_register%2Cch.bav.haltestellen-oev%2Cch.swisstopo.swisstlm3d-wanderwege%26layers_visibility%3Dfalse%2Cfalse%2Cfalse%2Cfalse%26layers_timestamp%3D18641231%2C%2C%2C\x22,\x22movie\x22:false,\x22pages\x22:[{\x22center\x22:[2660000.0000000005,1190000],\x22bbox\x22:[2645853.6111111115,1180651.388888889,2674146.3888888895,1199348.611111111],\x22display\x22:[802,530],\x22scale\x22:\x22100000.0\x22,\x22dataOwner\x22:\x22 swisstopo\x22,\x22thirdPartyDataOwner\x22:false,\x22shortLink\x22:\x22https://s.geo.admin.ch/6c1758db34\x22,\x22rotation\x22:0,\x22langfr\x22:true,\x22timestamp\x22:\x22\x22}]}"
10/04/2018 18:36:1510.220.4.168 - - [10/Apr/2018:16:36:15 +0000] "GET /print/4652778239128506034.pdf.printout HTTP/1.1" 200 4289019 "-" "curl/7.47.0"
10/04/2018 18:36:2310.220.5.58 - - [10/Apr/2018:16:36:23 +0000] "GET /backend_checker HTTP/1.1" 200 2 "-" "ELB-HealthChecker/2.0"

@procrastinatio
Copy link
Contributor Author

procrastinatio commented Apr 17, 2020

Rebased, for codebuild

@procrastinatio procrastinatio self-assigned this Jun 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant