Existing Nextcloud via nginx

Hi, I have an existing Nextcloud instance and I would like to use npm to connect to Nextcloud. I have tried this before but it didn’t work. I would like some help as chat-gpt doesn’t realy work.

Thank you!

Support template. Please use this when you request support

yeah, chatgpt can’t guess :wink: yet…

human guessing… → you have an existing Nextcloud instance running on port 80 and want to run NPM as a reverse proxy on the same machine?

  • change Nextcloud port to port 83 or 84
  • install NPM (will be running on port 80 and 81/82 for NPM UI)
  • make sure NPM port 80 and 443 are internet facing in router/firewall
  • forward Nextcloud port 83 or 84 to 443 in NPM UI and get SSL in NPM UI

see