ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Nginx reverse proxy problem with subdomains

    IT Discussion
    nginx reverse proxy subdomain
    3
    23
    6.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stacksofplatesS
      stacksofplates
      last edited by stacksofplates

      You should be able to do

       semanage port -a -t http_port_t -p tcp 4567
      

      Then if you do

      semanage port -l | egrep '(^http_port_t)' 
      

      it should output the list of ports with that context

      http_port_t                    tcp      80, 81, 443, 488, 8008, 8009, 8443, 9000
      
      1 Reply Last reply Reply Quote 1
      • stacksofplatesS
        stacksofplates
        last edited by

        If it says 4567 is already assigned a label you can change it to:

        semanage port -m -t http_port_t -p tcp 4567 
        

        Then if you do the port list it should show up in there.

        1 Reply Last reply Reply Quote 1
        • JaredBuschJ
          JaredBusch
          last edited by

          @johnhooks said:

          semanage port -m -t http_port_t -p tcp 4567

          I had to add semanage first but then it worked.

          1 Reply Last reply Reply Quote 2
          • 1
          • 2
          • 2 / 2
          • First post
            Last post