ahipp13 commented on issue #53999:
URL: https://github.com/apache/airflow/issues/53999#issuecomment-3150521724

   Ended up figuring it out:
   
   Turns out the chainguard Airflow image I was using was Airflow 3.0, and the 
FAB provider I was installing was the newest one which wasn't compatible with 
it. 
   
   After I installed the correct version, I was then getting errors for these 
variables, so I added them to my environment variables:
   ```
     - name: "AIRFLOW__FAB__EXPOSE_HOSTNAME"
       value: "False"
     - name: "AIRFLOW__FAB__NAVBAR_COLOR"
       value: "#fff"
     - name: "AIRFLOW__FAB__NAVBAR_HOVER_COLOR"
       value: "#eee"
     - name: "AIRFLOW__FAB__NAVBAR_TEXT_COLOR"
       value: "#51504f"
     - name: "AIRFLOW__FAB__NAVBAR_TEXT_HOVER_COLOR"
       value: "#51504f"
   ```
   Finally, I was having issues with the redirect being http instead of https. 
I found this ticket: https://github.com/apache/airflow/issues/49781
   
   and ended up putting this in my apiServerConfig:
   
   ```
       current_app.wsgi_app = ProxyFix(  # type: ignore
         current_app.wsgi_app,
         x_for=1,
         x_proto=1,
         x_host=1,
         x_port=1,
         x_prefix=1,
       )
   ```
   And everything worked. I am sure some if not all of these issues are solved 
in a newer version so closing. Just want to leave this here in case somebody 
else has the problem in the future.


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

Reply via email to