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

Fix nginx map_hash building issues on Raspberry Pi #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

D-VR
Copy link

@D-VR D-VR commented Aug 25, 2024

When running this docker container on a raspberry pi, the proxy fails. This is due to the signal relay failing because nginx can't create a map_hash.

See error:

sudo docker logs f9e47397ba89
2024/08/25 16:42:23 [emerg] 1#1: could not build map_hash, you should increase map_hash_bucket_size: 32
nginx: [emerg] could not build map_hash, you should increase map_hash_bucket_size: 32
2024/08/25 16:42:26 [emerg] 1#1: could not build map_hash, you should increase map_hash_bucket_size: 32
nginx: [emerg] could not build map_hash, you should increase map_hash_bucket_size: 32

adding map_hash_bucket_size to the nginx config fixes this issue when running on a raspberry pi.

Please test this change on other systems to make sure it doesn't break them

add map_hash_bucket_size to fix issues when running the docker on a raspberry pi
@D-VR
Copy link
Author

D-VR commented Aug 25, 2024

Feature Request:
another thing which may be useful is to provide a simple config file for <not so technical> users, if they want to make simple changes like changing the external ports (i.e. port 80->8080). Since those running the signal proxy from home systems may already be using those ports for other projects

@D-VR
Copy link
Author

D-VR commented Aug 25, 2024

I have signed the CLA

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

Successfully merging this pull request may close these issues.

1 participant