lnmpa 中如何设置能让 apache 也可以外网访问

问答中心分类: OneinStacklnmpa 中如何设置能让 apache 也可以外网访问
715751607@qq.com asked 7年 ago
我相对与默认的安装,修改如下:
Listen 88
ServerName 0.0.0.0:88
#Include conf/extra/httpd-remoteip.conf
 
请问还需要设置什么,才能让外网也访问到 apache,我需要用apache配置git http server
同时我配置 git http server 时一直提示:fatal: repository 'http://127.0.0.1:89/git/test.git/' not found (端口定义的89,确认可以访问),如果在软件中能集成 git http server 就好了 

3 Answers
oneinstack answered 7年 ago
iptables
/usr/local/apache/conf/vhost/example.com.conf

motodoo answered 7年 ago
ECshop and Discuz, 用LNMP还是LNMPA好?

oneinstack answered 7年 ago
架构越简单越好,lnmp或者lamp即可