Unitech / Unitech/pm2

How to run pm2 over https ??

Open
#5,830 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
43.3k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository file, test, or entry point is named. Start by reviewing how the Nuxt app is deployed through PM2 and nginx, then reproduce the SSR request that tries to fetch the API from localhost over HTTPS; done means identifying whether the deployment can support both CSR and SSR without mixed active content.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nginx, node.js, nuxt
Domain
devops, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.