Home  >  Q&A  >  body text

How to configure svn under nginx so that it can be accessed externally

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.

怪我咯怪我咯2712 days ago716

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-16 17:27:32

    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.

    reply
    0
  • Cancelreply