Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

Describe and/or add load_module directive #17

Open
gpip opened this issue Jun 19, 2018 · 2 comments
Open

Describe and/or add load_module directive #17

gpip opened this issue Jun 19, 2018 · 2 comments

Comments

@gpip
Copy link

gpip commented Jun 19, 2018

Since nchan is being built as a dynamic module here, do you think it would be a good idea to mention that

load_module modules/ngx_nchan_module.so;

should be added to nginx.conf?

@gpip gpip changed the title Describe and/or load_module directive Describe and/or add load_module directive Jun 19, 2018
@Meroje
Copy link
Owner

Meroje commented Jun 21, 2018

I initially wanted to keep the file "vanilla" to the upstream but I recon the README is not very helpful at the moment.

@Valian
Copy link

Valian commented Jul 23, 2019

Also had this problem. For me, the easiest solution was to add

RUN echo -e "load_module modules/ngx_nchan_module.so;\n$(cat /etc/nginx/nginx.conf)" > /etc/nginx/nginx.conf

line to my Dockerfile

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

No branches or pull requests

3 participants