Hi there, is it possible to change the port from 3...
# general
s
Hi there, is it possible to change the port from 3000 to another port? I am using nginx as a proxy and another service is using port 3000.
d
This works for me: (assuming new port is 3001) Add PORT=3001 to the root
package.json
start script.
"start": "PORT=3001 turbo run start --scope=\"@calcom/web\""
Then in .env from the @calcom/web app, change:
Copy code
NEXT_PUBLIC_WEBAPP_URL='<http://localhost:3001>'
NEXT_PUBLIC_WEBSITE_URL='<http://localhost:3001>'
NEXTAUTH_URL='<http://localhost:3001>'
👍 1
Sorry, I notice that I have mistyped an "{" and "`" in the answer but I imagine you got them sorted.
s
@Demian N Didn't try it yet. Will it also work, when the domain before the nginx proxy is a regular https://cal.domain.com via port 433?