New to everything, except markup and some js. Managed to create Strapi+Gatsby project on my local computer and everything was quite cool before I started to deploy it on Ubuntu server. At this moment i have both strapi and gatsby running on my server, but when i’m trying to go to Content type builder it stucks with everlasting preloader and errors and warnings in the console. 2 — ImgBB
This is how my ngnix config looks like right now
` location / {
proxy_set_header Host $http_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-NginX-Proxy true;
proxy_pass http://127.0.0.1:8000;
}
location /admin/ {
proxy_set_header Host $http_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-NginX-Proxy true;
proxy_pass http://127.0.0.1:1337;
}
location /content-manager/ {
proxy_set_header Host $http_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-NginX-Proxy true;
proxy_pass http://127.0.0.1:1337;
}
`
I’m pretty sure that i have to add some more directives to it but can’t figure out what exactly i should add.
Thank you.
System Information
- Strapi Version: 3.1.0-alpha.5
- Operating System: 20.04
- Node Version: 10.23.0
- NPM Version: 6.14.8