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

Add unix socket for listening. #707

Merged
merged 1 commit into from
Nov 2, 2015
Merged

Conversation

werekraken
Copy link
Contributor

nginx can listen on unix sockets in addition to v4 and v6 addrs. This adds parameters to permit this use case.
http://nginx.org/en/docs/http/ngx_http_core_module.html#listen

The parameters emulate the ipv6 implementation. The enable parameter only affects listen in the unix socket case (not things like proxy_pass), so I called this listen_unix_socket_enable rather than unix_socket_enable.

@jfryman
Copy link
Contributor

jfryman commented Nov 2, 2015

Very nice. Thanks for the code!

jfryman added a commit that referenced this pull request Nov 2, 2015
Add unix socket for listening.
@jfryman jfryman merged commit f54a889 into voxpupuli:master Nov 2, 2015
@werekraken werekraken deleted the unix_socket branch November 3, 2015 15:25
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Oct 23, 2017
slm0n87 pushed a commit to slm0n87/puppet-nginx that referenced this pull request Mar 7, 2019
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