The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Jira mod_proxy subdomain

Discussion in 'General Discussion' started by Jake B., Dec 15, 2015.

  1. Jake B.

    Jake B. Member

    Joined:
    Oct 21, 2015
    Messages:
    7
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    I'm trying to create an apache proxy subdomain for Jira so I can have jira.domain.com instead of domain.com:port. I've tried adding the proxy configurations to the pre virtualhost include file, but it didn't do anything. Just curious if anyone's managed to do this, or something similar :)
     
  2. Jake B.

    Jake B. Member

    Joined:
    Oct 21, 2015
    Messages:
    7
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    Chicago, IL
    cPanel Access Level:
    Root Administrator
    Ended up getting this to work by putting this into pre_virtualhost_2.conf:

    Code:
    <VirtualHost IP:80>
      ServerName jira.domain.com
    
        ProxyRequests Off
        <Proxy *>
            Order deny,allow
            Allow from all
        </Proxy>
    
        ProxyPass / http://s1.domain.com:9000/
        ProxyPassReverse / http://s1.domain.com:9000/
        <Location />
            Order allow,deny
            Allow from all
        </Location>
    </VirtualHost>
    
    :)
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - Jira mod_proxy subdomain
  1. chermus
    Replies:
    7
    Views:
    1,140

Share This Page