- 积分
- 42
- 威望
-
- 金钱
-
- 注册时间
- 2015-6-20
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
- [f@28 ~]# ifconfig
- eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
- inet 172.16.251.241 netmask 255.255.240.0 broadcast 172.16.255.255
- inet6 fe80::216:3eff:fe0f:e34f prefixlen 64 scopeid 0x20<link>
- ether 00:16:3e:0f:e3:4f txqueuelen 1000 (Ethernet)
- RX packets 104093 bytes 26696791 (25.4 MiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 78260 bytes 83555176 (79.6 MiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
- lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
- inet 127.0.0.1 netmask 255.0.0.0
- inet6 ::1 prefixlen 128 scopeid 0x10<host>
- loop txqueuelen 1000 (Local Loopback)
- RX packets 358517 bytes 172317097 (164.3 MiB)
- RX errors 0 dropped 0 overruns 0 frame 0
- TX packets 358517 bytes 172317097 (164.3 MiB)
- TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
复制代码 如果可以启用,我的是LNMPA 1.7,是不是只需要将
- #listen [::]:80 default_server ipv6only=on;
- #listen [::]:80;
- #listen [::]:443 ssl http2;
复制代码 这三处开启即可?apache部分不用管
|
|