Created
December 30, 2016 13:11
-
-
Save steinnes/c6f0073485593c05fee51a123eadab91 to your computer and use it in GitHub Desktop.
nginx config to listen on IPv6 and proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user www-data; | |
worker_processes auto; | |
pid /run/nginx.pid; | |
events { | |
worker_connections 768; | |
# multi_accept on; | |
} | |
stream { | |
server { | |
listen [::]:443 ipv6only=on; | |
proxy_buffer_size 16k; | |
proxy_pass your.host-which-may-be-ipv4.com:443; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment