Skip to content

Fix nginx map_hash building issues on Raspberry Pi#54

Open
D-VR wants to merge 1 commit into
signalapp:mainfrom
D-VR:patch-2
Open

Fix nginx map_hash building issues on Raspberry Pi#54
D-VR wants to merge 1 commit into
signalapp:mainfrom
D-VR:patch-2

Conversation

@D-VR

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

Copy link
Copy Markdown

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

D-VR commented Aug 25, 2024

Copy link
Copy Markdown
Author

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

D-VR commented Aug 25, 2024

Copy link
Copy Markdown
Author

I have signed the CLA

@mhida923-web mhida923-web left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When

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

Successfully merging this pull request may close these issues.

2 participants