Favorite [URGENT] Linux + Apache + svn + mysql Server Upload is particularly slow-Linux Enterprise Application-Linux server application information. For details, refer to the following. Problem description:
I set up SVN on the internet server for project management. Because it is convenient to manage multiple projects in the later stage, apache + mysql + svn is used.
Because my WEB server uses nginx and SVN requires apache support, apache binds port 8080. the server IP address is 192.168.0.78, And I bound a domain name to the server. Therefore, the nginx entry is required. Therefore, a redirection to port 8080 is performed on the nginx host. The configuration is as follows:
CODE: server
{
Listen 80;
Server_name svn.bottle.com;
Location /{
Proxy_pass http: // 127.0.0.1: 8080;
Proxy_set_header Host $ host: 80;
Proxy_set_header X_Real_IP $ remote_addr;
Proxy_set_header X-Forwarded-For $ proxy_add_x_forwarded_for;
Proxy_set_header Via "nginx ";
}
} |