1809 results for "nginx"

  • dragontamer5788, I'm using nginx for my static site. I have it log POST data to a separate logfile. The trick is getting nginx to proxy to itself so it doesn't strip it.
    superkuh at 2020-01-08 22:10
  • Thanks for showing me the way, aaronpk. I did the nginx proxying to itself thing like you found and it's working for getting POST variables.
    superkuh at 2020-01-08 21:18
  • Maybe there are other ways too then. I guess I should ask on the nginx channel.
    superkuh at 2020-01-07 21:20
  • so if you configure nginx to proxy to itself, then you get that variable without any additional modules
    aaronpk at 2020-01-07 21:17
  • nice, i just tried $request_body on my server and if your nginx is proxying to a server then the variable is already set
    aaronpk at 2020-01-07 21:15
  • i thought you said you trusted nginx tho
    aaronpk at 2020-01-07 21:07
  • so i'm googling "nginx log post body" and finding some good results that are pretty straightforward
    aaronpk at 2020-01-07 21:05
  • I'd prefer to let something already known to be solid and secure like nginx handle it.
    superkuh at 2020-01-07 21:02
  • I've looked into ways of getting form encoded data to log to disk with nginx. Mostly it requires about 30 lines of lua scripting in the location directive for the webmention endpoint.
    superkuh at 2020-01-07 20:59
  • It is a Known issue: HTTP/1.1 403 Forbidden\r\nServer: nginx/1.14.0\r\nContent-Type: application/json\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nX-Powered-By: PHP/7.2.7-1+ubuntu16.04.1+deb.sury.org+1\r\nCache-Control: no-cache, private\r\nDate: Mon, 06 Jan 2020 14:59:24 GMT", what I get in Monocle
    [jgmac1106] at 2020-01-06 16:00
Sort by:

Filter results by:

Tag

Query took 0s.


Search tips

Exclusion
+foo -bar
Logical OR
foo OR bar
Exact phrase
"foo bar"
Partial words
foo*
Particular fields only
title:foo
domain:example.org
nick:somebody
after:2016-11-23
before:2016-11-23
date:2016-11-23