Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Squid3 Reverse proxy multiple domains?

    pfSense Packages
    2
    6
    2.8k
    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.
    • I
      informatica_cmav
      last edited by

      Hello Everybody,

      We have a squid reverse proxy up and running for 5 months, with 5 sub domains great work guys.

      Now We will serve another domain, our question is : Can We configure Reverse proxy to work with 2 domains?

      Thanks
      Guilherme Gaspar

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        yes, just configure servers and mappings.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • I
          informatica_cmav
          last edited by

          Hello Marcello,

          I have configured mapping to a existent server (same server will serve 2 domains) is this a problem?
          I have session reset when I try to access the second domain (TCP_DENIED/403).
          I have the first domain in external FQDN and configure a mapping with the second domain URIs, this is the right way?

          Thanks

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            Check for erros on squid resulting config. Just like varnish, squid reverse should work the way you need.

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • I
              informatica_cmav
              last edited by

              Hello Marcello

              Sorry for de delay, I check squid.conf (on /usr/pbi/squid-amd64/etc/squid) and don´t have any dstdomain acl with the 2 domain squid will accept the second domain without this rule?

              Thanks
              Guilherme

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                Can you try it with squid3-dev package?

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.