Replies: 1 comment
-
Solved it myself by simply using coolify. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue with Live Preview and Preview Functionality on EC2 Instance in Combination with 'pnpm run build/start'
Hi everyone,
I'm facing an issue with the live preview and preview functionality in a production environment on an EC2 instance, and I'm hoping to get some support.
System Configuration:
Binaries:
Relevant Packages:
Operating System:
Project Setup:
I created my project using the create-payload-app beta both locally and on the AWS EC2 instance with the website template. I haven’t made any changes to the project aside from the necessary setup steps to properly configure Payload and other services.
Issue:
The live preview and preview functionality work under the following scenarios:
The live preview and preview functionality do NOT work under the following scenario:
Troubleshooting Steps Taken:
Important Settings:
Environment Variables:
Apache Configuration:
Question:
Does anyone have any insights into why the live preview and preview functionality are not working on the EC2 instance when running in production mode (pnpm run build/start)? Are there specific differences in how Payload and Next.js operate in production that could be causing this issue?
I would greatly appreciate any guidance or suggestions. I'm happy to provide further details if needed.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions