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/12/16 11:41:16 UTC

[GitHub] [incubator-superset] dpgaspar edited a comment on issue #8841: /shortner API does not take into account when Superset is behind a reverse proxy to be served over HTTPS

dpgaspar edited a comment on issue #8841: /shortner API does not take into account when Superset is behind a reverse proxy to be served over HTTPS
URL: https://github.com/apache/incubator-superset/issues/8841#issuecomment-566025604
 
 
   Strange, this should work correctly since we are setting: `PROXY_FIX_CONFIG = {"x_for": 1, "x_proto": 1, "x_host": 1, "x_port": 1, "x_prefix": 1}`
   
   And then:
   ```
               from werkzeug.middleware.proxy_fix import ProxyFix
   
               self.flask_app.wsgi_app = ProxyFix(
                   self.flask_app.wsgi_app, **self.config["PROXY_FIX_CONFIG"]
               )
   ```
   Are you sure your X-Forwarded-Proto is set?
   
   (note you can change PROXY_FIX_CONFIG)

----------------------------------------------------------------
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