Skip to main content
Clarified question - "Rewrite rules" is the central question, not general debugging of the nginx config file.
Link

best way to debug nginx rewrite rules in config file?

Tweeted twitter.com/ServerFault/status/1071328682223001601
Source Link
Jiho Kang
  • 1.1k
  • 2
  • 10
  • 8

best way to debug nginx config file?

I have a bunch of rewrite rules that I have to port from apache to nginx.

It's a rather painful process because I'm not able to see if my rewrite rules and "if" conditions are working as I want them to.

Apache did have debugging for its rewrite module. Whats can I do for nginx?