Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run pm2 over https ?? #5830

Open
ChamkhiAnas opened this issue May 26, 2024 · 1 comment
Open

How to run pm2 over https ?? #5830

ChamkhiAnas opened this issue May 26, 2024 · 1 comment

Comments

@ChamkhiAnas
Copy link

What's going wrong?

hello im using pm2 to deploy nuxt app on nginx , the problem is that on csr mode app is working very well but on ssr mode it doesnt fetch the data because of Blocked loading mixed active content it tries to fetch from localhost over https api , so i need to make pm2 run over https for the app to be able to work on both mode (csr and ssr)

@dimitriaatos
Copy link

This doesn't sound pm2 relate, pm2 is responsible only for starting up your app. I suspect you have to make your api accessible over the internet and call its domain or ip instead of localhost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants