Deployment of cube with nginx proxy
- Dominant language
- Rust
- Stars
- 20.8k
- Forks
- 2.1k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 181
Description
Hi i have configured cube on server with ip http://127.0.0.1:61000/ . I wanted to run cube via nginx with staic ip of my server
Nginx configuration :
```bash
location/cubejs/ {
# proxy_set_header Host $http_host/cubejs;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Scheme $scheme;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header X-Forwarded-Proto $scheme;
#proxy_redirect off;
# add_header Pragma "no-cache";
#add_header Cache-Control "no-cache";
proxy_pass http://127.0.0.1:61000/;
sub_filter 'action="/' 'action="/cubejs/';
sub_filter 'href="/' 'href="/cubejs/';
sub_filter 'src="/' 'src="/cubejs/';
sub_filter_once off;
}
```
Issue is loader only spinning on ui without any error
Error Image :

If i removes the subfilter css files and js files do not loads .
Contributor guide
Assessment
This issue has not been assessed yet.