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"; } } |
CODE: <Location /repos> DAV svn SVNParentPath /workspace/svn/ AuthName "Wecome access bottle's Subversion server" AuthType Basic AuthBasicAuthoritative off AuthMySQLEnable On AuthMySQLHost localhost AuthMySQLUser root AuthMySQLPassword 123456 AuthMySQLDB friday_server AuthMySQLUserTable svn_users AuthMySQLNameField username AuthMySQLPasswordField passwd AuthMySQLPwEncryption md5 Require Valid-user </Location> |
[火星人 ] 收藏 [急]Linux+Apache+svn+mysql伺服器上傳特別慢的問題已經有517次圍觀