Skip to content
New issue

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

force_base_url should have better documentation #20

Open
jackmtpt opened this issue May 13, 2024 · 1 comment
Open

force_base_url should have better documentation #20

jackmtpt opened this issue May 13, 2024 · 1 comment

Comments

@jackmtpt
Copy link

https://registry.terraform.io/providers/sonatype-nexus-community/sonatypeiq/latest/docs/resources/system_config#force_base_url

The current description just says (Boolean) Should the Base URL be forced? which is quite useless really, since it doesn't tell you anything more than the name of the option already did.

There doesn't seem to be a corresponding option in the actual IQ Server UI, so what does this flag do? When should it be set?

@jackmtpt
Copy link
Author

Looks like it's this option from the rest api docs:

https://help.sonatype.com/en/configuration-rest-api.html

Default false value is desired. If true, force IQ Server to treat all inbound requests as originating from the configured baseURL instead of relying on inbound HTTP request headers to determine this dynamically.

Setting this to true in order for HTTP requests to the server to work correctly suggests a misconfiguration of an upstream server that is reverse proxying requests to IQ Server. The upstream server should instead be sending properly formatted Forwarded headers .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant