mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-22 06:22:16 +00:00
nginxfmt
This commit is contained in:
@@ -27,4 +27,3 @@ set_real_ip_from 2c0f:f248::/32;
|
|||||||
# use any of the following two
|
# use any of the following two
|
||||||
real_ip_header CF-Connecting-IP;
|
real_ip_header CF-Connecting-IP;
|
||||||
#real_ip_header X-Forwarded-For;
|
#real_ip_header X-Forwarded-For;
|
||||||
|
|
||||||
|
|||||||
3
lint.sh
3
lint.sh
@@ -3,5 +3,4 @@
|
|||||||
ruff check --fix .
|
ruff check --fix .
|
||||||
ruff format .
|
ruff format .
|
||||||
|
|
||||||
# https://github.com/soulteary/nginx-formatter
|
find . -type f -name '*.conf' -path '*/nginx*' -exec nginxfmt -v {} +;
|
||||||
nginx-formatter
|
|
||||||
|
|||||||
Reference in New Issue
Block a user