We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reported in NixOS/nixpkgs#57979 (comment):
The following configuration:
location /example { allow 192.168.0.0/16; deny all; }
results in
location /example { allow 192.168.0.0/16; deny all; } ;
the trailing ; will produce an error message in nginx like this:
;
апр 08 14:55:45 web.elven.pw systemd[1]: Starting Nginx Web Server... апр 08 14:55:45 web.elven.pw pnzhwc1q1is8vbdkg34ksicqq9jh5chc-unit-script-nginx-pre-start[2430]: nginx: [emerg] unexpected ";" in /nix/store/glvppaxv9gqg9vj179ph9rmj8yg41d72-nginx.conf:151
The nginx version is 1.14.2.
The text was updated successfully, but these errors were encountered:
Here is a workaround NixOS/nixpkgs#59181 However I would very much prefer a fix in nginx-config-formatter instead.
Sorry, something went wrong.
cc @4z3
Make tests for #20, fix #16.
b719ffb
Fixed, will be published in next release.
No branches or pull requests
Reported in NixOS/nixpkgs#57979 (comment):
The following configuration:
results in
the trailing
;
will produce an error message in nginx like this:The nginx version is 1.14.2.
The text was updated successfully, but these errors were encountered: