by mmsc on 2/16/25, 4:06 AM with 28 comments
by ProfDreamer on 2/16/25, 6:31 PM
[1]: https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modu... [2]: https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/build...
by cadamsdotcom on 2/16/25, 6:11 AM
Had a thought: imagine if it were a subcommand of nginx (whichever fork will accept it) - that’d give it a much wider audience.
Even more impactful would be if analysis always ran at nginx startup. Wouldn’t have to be blocking but getting warned about risks would help more folks configure things more correctly more often.
Either way great to have tools to help with correctly configuring the parts of your infra that are exposed to the wild internet.
by mobilemidget on 2/16/25, 10:25 AM
Worth the read already. Initially I even thought the analyzer was 'wrong' but curl tests indeed shows that add_header replaces all, surprisingly to me.
Thanks!
But I dont really like the installation of a pip/python ecosystem but that is just my issue :) I now simply copy the configurations from a python free servers and analyze them.
by ajayvk on 2/16/25, 4:25 PM
The advantage is that new app installations cannot interfere with an existing app. I wrote more about this approach at https://clace.io/blog/webserver/
by ossusermivami on 2/16/25, 11:00 AM
NameError: name 'SRE_FLAG_TEMPLATE' is not defined. Did you mean: 'SRE_FLAG_VERBOSE'?
(using the mentioned docker command on README $ docker run --rm -v `pwd`/nginx.conf:/etc/nginx/conf/nginx.conf getpagespeed/gixy /etc/nginx/conf/nginx.conf)
by zelphirkalt on 2/16/25, 11:23 AM
by alp1n3_eth on 2/16/25, 4:04 PM
They can always use some extra contributions, and would slot into existing tooling within a pipeline.
by efxzx on 2/16/25, 3:46 PM
by oriettaxx on 2/17/25, 12:46 AM
how serious is header injection? it sounds pretty serious, is it?
by huang_chung on 2/16/25, 10:20 AM
Configuration files should be self-documenting.
Instead nginx taught us that if != if.