springdoc / springdoc.github.io

Library for OpenAPI 3 with spring-boot
https://springdoc.org
Apache License 2.0
9 stars 42 forks source link

In FAQ section 13.24, the Apache 2 RequestHeader configuration syntax is incorrect #44

Closed buzzerrookie closed 1 year ago

buzzerrookie commented 1 year ago

In FAQ section 13.24, the Apache 2 configuration syntax is incorrect. From the Apache doc for RequestHeader, there is no equal sign between RequestHeader and set. The example configuration RequestHeader=set X-Forwarded-Prefix "/custom-path" is incorrect and leads to error when starting Apache 2.

buzzerrookie commented 1 year ago

I've created a PR to fix this, https://github.com/springdoc/springdoc.github.io/pull/45