nginx-formatter
nginx-formatter copied to clipboard
Small and easy-to-use Nginx configuration formatting tool (CLI & GUI), support Docker, x86, ARM, macOS...
I use webui by docker and get wrong code: input: ```conf location /api/ro { default_type "application/json"; return ' { "code":200 }' } ``` output: ```conf location /api/ro { default_type "application/json";...
It changes code like: ``` return 200 ''; -> return 200 "''"; return 200 ""; -> return 200 """"; ```
I executed . /nginx-formatter in the config file directory ``` if ($http_user_agent ~ (Edg|Sogou\ web|Semrushbot|Scrapy|Curl)) { return 403; } } ``` After formatting it will become ``` if ($http_user_agent ~...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1. Release notes Sourced from github.com/gin-gonic/gin's releases. v1.9.1 Changelog BUG FIXES fix Request.Context() checks #3512 SECURITY fix lack of escaping of filename in Content-Disposition #3556...