You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/08/07 11:02:54 UTC

[GitHub] [incubator-superset] ngritsuk commented on issue #6824: There was an issue fetching the favorite status of this dashboard

ngritsuk commented on issue #6824: There was an issue fetching the favorite status of this dashboard
URL: https://github.com/apache/incubator-superset/issues/6824#issuecomment-519049346
 
 
   We are using nginx as a reverse proxy for superset and faced with this issue. Superset is running in docker container and nginx is on the host system.
   Following lines in nginx config solved this issue for us:
   
   ```
   map $http_upgrade $connection_upgrade {
     default       "upgrade";
     ""            "";
   }
    server {
    server_name superset.example.org
    listen 443 ssl;
    location /  {        
              proxy_set_header   Connection $connection_upgrade;
              proxy_set_header   Upgrade $http_upgrade;
              proxy_set_header   Host $host;
              proxy_set_header   X-Real-IP $remote_addr;
              proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
              proxy_set_header   X-Forwarded-Proto $scheme;
      }
   }
   ...
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org