dsuarez commented on issue #35712:
URL: https://github.com/apache/superset/issues/35712#issuecomment-3431090223

   Ok, thanks. I added everything, but creating a dashboard still does not 
work. Take into account all the other features seems works perfectly (except 
user info https://github.com/apache/superset/issues/35027). It is only in _new 
dashboard_ when the redirection omits the port:
   
   
https://mydomain.com:3000/apps/superset/dashboard/list/?pageIndex=0&sortColumn=changed_on_delta_humanized&sortOrder=desc&viewMode=table
   
   ->
   
   https://mydomain.com/apps/superset/dashboard/new/
   
   If I add the port to the URL manually, it works well from there:
   
   https://mydomain.com:3000/apps/superset/dashboard/new/
   
   My current relevant config:
   
   **.env**
   
   ```
   ENABLE_PROXY_FIX=True
   PROXY_FIX_CONFIG={"x_for": 1, "x_proto": 1, "x_host": 1, "x_port": 1, 
"x_prefix": 1}
   PREFERRED_URL_SCHEME="https"
   ...
   SUPERSET_APP_ROOT="/apps/superset"
   STATIC_ASSETS_PREFIX="/apps/superset"
   APPLICATION_ROOT="/apps/superset"
   ``` 
   
   **nginx.conf**
   ...
       location /apps/superset/ {
           proxy_pass         http://superset_upstream;
           proxy_set_header   Host              $host;
           proxy_set_header   X-Forwarded-Proto $scheme;
           proxy_set_header   X-Forwarded-Host $host;
           proxy_set_header   X-Forwarded-Port $server_port;
           proxy_set_header   X-Forwarded-Prefix /apps/superset;
       }
   ...
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to