Skip to content

Conversation

@bcahlit
Copy link

@bcahlit bcahlit commented Mar 2, 2020

增加对ipv6的监听,便于外网直接访问。

@xfl12345
Copy link
Contributor

麻烦兄弟执行命令nginx -V看看已编译的模块,Entware官方的nginx并没有编译ipv6模块,所以你这样做是没用的,确定试了吗?

@bcahlit
Copy link
Author

bcahlit commented Apr 26, 2020

麻烦兄弟执行命令nginx -V看已编译的模块,Entware官方的nginx并没有编译ipv6模块,所以你这样做是没用的,确定试了吗?

确定试了,我新三上的nextcloud 用这种方式可以监听ipv6,实现公网访问。 没有with-ipv6 但是它可以访问。

nginx version: nginx/1.15.8
built by gcc 7.4.0 (OpenWrt GCC 7.4.0 r943-da27f92)
built with OpenSSL 1.1.1b  26 Feb 2019
TLS SNI support enabled
configure arguments: --crossbuild=Linux::mipsel --with-cc=mipsel-openwrt-linux-gnu-gcc --with-cc-opt='-I/home/ryzhovau/Entware/staging_dir/target-mipsel_mips32r2_glibc-2.27/opt/include -I/home/ryzhovau/Entware/staging_dir/toolchain-mipsel_mips32r2_gcc-7.4.0_glibc-2.27/include -O2 -pipe -mno-branch-likely -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -I/home/ryzhovau/Entware/staging_dir/target-mipsel_mips32r2_glibc-2.27/opt/include/libxml2 -Wno-error=parentheses -Wno-error=implicit-fallthrough' --with-ld-opt='-L/home/ryzhovau/Entware/staging_dir/target-mipsel_mips32r2_glibc-2.27/opt/lib -Wl,-rpath,/opt/lib -Wl,-rpath-link=/home/ryzhovau/Entware/staging_dir/target-mipsel_mips32r2_glibc-2.27/opt/lib -Wl,--dynamic-linker=/opt/lib/ld.so.1 -L/home/ryzhovau/Entware/staging_dir/toolchain-mipsel_mips32r2_gcc-7.4.0_glibc-2.27/lib -lxml2' --prefix=/opt --conf-path=/opt/etc/nginx/nginx.conf --http-log-path=/opt/var/log/nginx/access.log --error-log-path=/opt/var/log/nginx/error.log --lock-path=/opt/var/lock/nginx.lock --pid-path=/opt/var/run/nginx.pid --modules-path=/opt/lib/nginx --http-client-body-temp-path=/opt/var/lib/nginx/body --http-fastcgi-temp-path=/opt/var/lib/nginx/fastcgi --http-proxy-temp-path=/opt/var/lib/nginx/proxy --http-scgi-temp-path=/opt/var/lib/nginx/scgi --http-uwsgi-temp-path=/opt/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --without-http_upstream_zone_module --without-stream_upstream_zone_module --with-http_addition_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_random_index_module --with-http_secure_link_module --with-http_sub_module --with-http_xslt_module=dynamic --with-mail=dynamic --with-mail_ssl_module --with-stream=dynamic --with-stream_ssl_module --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/http-headers-more-filter --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/http-auth-pam --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/http-cache-purge --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/http-dav-ext --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/http-ndk --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/http-echo --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/http-fancyindex --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/nchan --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/http-lua --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/rtmp --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/http-uploadprogress --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/http-upstream-fair --add-dynamic-module=/home/ryzhovau/Entware/build_dir/target-mipsel_mips32r2_glibc-2.27/nginx-1.15.8/modules/http-subs-filter

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