Posts

How to install Apache superset docker container, configure ssl

Image
 login in to ubuntu machine  install docker host clone  the repo:  https://github.com/apache/superset.git update the docker-compose.yml file : expose the 443 port     5- update the nginx.conf file , add:  server {         listen 443 ssl;         server_name backend.samiphotolishz.com;         ssl_certificate /etc/ssl/certs/certificate.crt;         ssl_certificate_key /etc/ssl/certs/private.key;         # Other SSL configurations like SSL protocols and ciphers can be added here         location / {             proxy_pass http://superset_app;             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;             proxy_set_header X-Forwarded-Host $host;             proxy_intercept_errors on;         }     }     server {         listen 80;         server_name backend.samiphotolishz.com;         # Redirect HTTP to HTTPS         r