C
C
CartmanGui2015-02-19 18:25:11
git
CartmanGui, 2015-02-19 18:25:11

How can I access Atlassian STASH on the local network?

There is a local network on one of the computers with Atlassian STASH OS sentos 7 installed,
after starting start-stash.sh, a
Success message appeared! You can now use Stash at the following address:
localhost:7990
/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rexer, 2015-02-19
@rexer

You can do this, or you can raise a web server and do proxy_pass server
{
server_name
................
location / {
proxy_pass localhost: 7990
proxy_set_header Host $ host
}
}
anything.
Hide it behind a web server and you will be happy.

C
CartmanGui, 2015-02-20
@CartmanGui

that none of the options helped.
my config for apache:

<VirtualHost *:80>
        ServerName stash.test.com
        ServerAlias www.stash.test.com
  ProxyRequests Off
        ProxyPreserveHost On
        ProxyPass           /   http://localhost:7990/ connectiontimeout=5 timeout=300
        ProxyPassReverse    /   http://localhost:7990/

        <Proxy *>
            Order Deny,Allow
            Allow from all
        </Proxy>

        <Location />
             Order allow,deny
             Allow from all
        </Location>
 </VirtualHost>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question