Uploaded image for project: 'Olio'
  1. Olio
  2. OLIO-151

Link issues with URLs for RSS streams

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.2
    • 0.3
    • rails-app
    • None

    Description

      All links to dynamic RSS streams of events become invalid when accessing the Olio website through a load balancer. Without it, everything works like a charm.

      In the case of nginx, let's say we have a configuration where all requests received by the load balancer on port 80 have to be forwarded to one of the servers inside the pool known as backend:
      upstream backend {
      server X.Y.Z.A:3000;
      server X.Y.Z.B:3000;
      }

      server {
      listen 80;
      server_name X.Y.Z.Z;

      access_log /var/log/nginx/access.log;

      location /

      { proxy_pass http://backend; }

      }

      Nevertheless, produced links for RSS streams are faulty since they include http://backend as the base URL instead of http://X.Y.Z.Z.

      Attachments

        1. olio-06-07-2010.patch
          6 kB
          Xavier Dutreilh

        Activity

          People

            shanti Shanti Subramanyam
            xavier.dutreilh Xavier Dutreilh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2m
                2m
                Remaining:
                Remaining Estimate - 2m
                2m
                Logged:
                Time Spent - Not Specified
                Not Specified