XAMPP

来自bbxwiki
跳转至: 导航搜索

关闭目录浏览

打开Apache配置文件httpd.conf
查找"Options Indexes FollowSymLinks" 去掉"Indexes"


tomcat 设置(conf/server.xml)

    <Connector port="8887" protocol="HTTP/1.1"
               connectionTimeout="20000"
               URIEncoding="UTF-8" 
               useBodyEncodingForURI="true" 
               maxThreads="200"
               acceptCount="800"
               minSpareThreads="20"
               maxIdleTime="60000"
               maxKeepAliveRequests="1"
               redirectPort="8443" />


nginx 转发设置(nginx.conf)

        location / {
            root   html;
            index  index.html index.htm;
            proxy_pass  http://xxx.xx.xx.xx;
            proxy_set_header        Host            $host;
            proxy_set_header        X-Real-IP       $remote_addr;
            proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
        }

参见