You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
So we want to use payload cms's api in our astro app. We are trying to deploy payload cms in gcp using nginx.
NOTE
: Our astro app is running on the same vm on port4321
with another nginx config located on/etc/nginx/sites-enabled/xyz.doman.com
** Things we have done already **
pnpm install
pnpm dev
andcurl http://localhost:3000/
and its giving us the root sitepnpm build
pnpm start
/etc/nginx/sites-enabled/cms.xyz.doman.com
Here is nginx config
cms.xyz.doman.com
:Our
.env
file :Our
next.config.mjs
:Our
payload.config.ts
:Beta Was this translation helpful? Give feedback.
All reactions