System Information
- 3.3.3:
- ubuntu 20 server:
- mongodb: :
hi im deploying a fullstack app and i want the strapi cms to be accessible from the browser in something like /admin or /server
i added this
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
in my nginx and set the location to my frontend and i tried to add
location /admin {
proxy_pass http://localhost:1337;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
but it didnt work
can someone tell me how to make this happen ?