部署Tornado时iptables引发的的一个问题
今天在CentOS上部署了一个Tornado,使用nginx做代理, tornado使用8888,端口,使用nginx作为反向代理,配置文件如下: server { listen 80; server_name www.linuxzen.com; location / { proxy_pass_header …
今天在CentOS上部署了一个Tornado,使用nginx做代理, tornado使用8888,端口,使用nginx作为反向代理,配置文件如下: server { listen 80; server_name www.linuxzen.com; location / { proxy_pass_header …
今天更新了几条iptables,但是运行命令service iptables save保存时确提示iptables: Saving firewall rules to /etc/sysconfig/iptables: /etc/init.d/iptables: line 268: restorecon: command not found 好吧,很明显的错误,找 …