/
home
/
techb158
/
cosmic.abdallabala.com
/
deploy
/
/home/techb158/cosmic.abdallabala.com/deploy
mkdir
upload
Name
Size
Mode
Actions
cosmic-ai-risk-dashboard.service
506
0666
edit
dl
rm
nginx.conf
883
0666
edit
dl
rm
Edit:
/home/techb158/cosmic.abdallabala.com/deploy/nginx.conf
(883B)
# Example Nginx reverse proxy for COSMIC AI-Risk Dashboard. # Replace dashboard.example.com with your domain. server { listen 80; server_name dashboard.example.com; return 301 https://$host$request_uri; } server { listen 443 ssl http2; server_name dashboard.example.com; ssl_certificate /etc/letsencrypt/live/dashboard.example.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/dashboard.example.com/privkey.pem; client_max_body_size 2m; location / { proxy_pass http://127.0.0.1:8090; proxy_http_version 1.1; 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 https; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }
Save
cmd:
run