wqbbs911 opened a new issue, #33226:
URL: https://github.com/apache/superset/issues/33226

   *Please make sure you are familiar with the SIP process documented*
   [here](https://github.com/apache/superset/issues/5602). The SIP will be 
numbered by a committer upon acceptance.
   
   ## [SIP] Proposal for ...<title>
   
   ### Motivation
   
   Description of the problem to be solved.
   
   ### Proposed Change
   
   Describe how the feature will be implemented, or the problem will be solved. 
If possible, include mocks, screenshots, or screencasts (even if from different 
tools).
   
   ### New or Changed Public Interfaces
   
   Describe any new additions to the model, views or `REST` endpoints. Describe 
any changes to existing visualizations, dashboards and React components. 
Describe changes that affect the Superset CLI and how Superset is deployed.
   
   ### New dependencies
   
   Describe any `npm`/`PyPI` packages that are required. Are they actively 
maintained? What are their licenses?
   
   ### Migration Plan and Compatibility
   
   Describe any database migrations that are necessary, or updates to stored 
URLs.
   
   ### Rejected Alternatives
   
   Describe alternative approaches that were considered and rejected.
   
   tried to deploy superset:4.1.2-py311 in K8s by helm superset/superset:0.14.2 
and use nginx proxy it with sub_path /analytics, research online with several 
way , still does NOT work, is it superset support it ?
   my configuration is:
   in superset:
   1. install depend:
   ```
   bootstrapScript: |
     #!/bin/bash
   
     # Install system-level dependencies
     apt-get update && apt-get install -y \
       python3-dev \
       default-libmysqlclient-dev \
       build-essential \
       pkg-config 
   
     # Install required Python packages
     uv pip install --native-tls \
       authlib \
       psycopg2-binary \
       mysqlclient \
       pymysql
   
     # Create bootstrap file if it doesn't exist
     if [ ! -f ~/bootstrap ]; then
       echo "Running Superset with uid {{ .Values.runAsUser }}" > ~/bootstrap
     fi
   ```
   2. add some ENV 
   ```
   APPLICATION_ROOT = '/analytics'
   STATIC_ASSETS_PREFIX = '/analytics'
   ENABLE_PROXY_FIX = True
   ```
   3.  in nginx:
   ```
   location /analytics/ {
       proxy_pass         http://x.x.x.x:8088/;
       proxy_set_header   X-Forwarded-Prefix /analytics/;
   }
   
   ```
   
   when i visit via web, it shows :
   
   
![Image](https://github.com/user-attachments/assets/343ad2b1-0723-43aa-b907-a583889e5de0)
   
   tried another way 
https://github.com/emesday/prefixed-superset/blob/main/nginx/conf.d/superset.conf.template,
 still doesn't wok
   
   
   


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