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

Ability to statically build the module #9

Open
ymartin-ovh opened this issue Sep 15, 2023 · 3 comments
Open

Ability to statically build the module #9

ymartin-ovh opened this issue Sep 15, 2023 · 3 comments

Comments

@ymartin-ovh
Copy link

Maybe I'm doing my build wrong but I can't build an nginx with otel module statically linked in.
It would be nice if the build chain can support this mode too (addon).

Regards

@dplotnikov-f5
Copy link
Contributor

Thank you for your feedback! At this point we do not support static linkage though we may add this in the future.

Would you mind sharing details why statically linking otel module is beneficial for case.

@ymartin-ovh
Copy link
Author

Hello @dplotnikov-f5

Glad to hear that. We use in our infra a statically build of nginx,without loading module support, for security reason.

Regards

@osokin
Copy link

osokin commented Oct 5, 2023

Maybe I'm doing my build wrong but I can't build an nginx with otel module statically linked in. It would be nice if the build chain can support this mode too (addon).

I do believe it's possible (at least on FreeBSD from the FreeBSD ports tree) with the following PR, #11

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

3 participants