How to configure svn under nginx so that it can be accessed externally
怪我咯2017-05-16 17:25:32
0
1
692
I installed svn on the host, but my server is nginx and I don’t want to use Apache. How can I set it up so that it can be accessed externally? The version can now be checked out on the Linux host.
If you just want external access, you don’t need nginx.
The name of the software used is svnserve, and so is the service name. /etc/init.d/svnserve start can simply run it, or you can run it with "svnserve -d -r ." (You need to specify the user’s name and group)
You can specify -d and -r parameters for svnserve,
The default port is 3690, which can be specified through --listen-port=port.
The firewall must open port 3690 to the outside world.
nginx and svn are two different things.
If you just want external access, you don’t need nginx.
The name of the software used is svnserve, and so is the service name. /etc/init.d/svnserve start can simply run it, or you can run it with "svnserve -d -r ."
(You need to specify the user’s name and group)
You can specify -d and -r parameters for svnserve,
The default port is 3690, which can be specified through --listen-port=port.
The firewall must open port 3690 to the outside world.