• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Despligue de nextjs v15.3 app en plesk(Ubuntu24.04Lts)

Good for everyone. I'm using Plesk Obsidian 18.0.70 and I'm trying to deploy my next js v15.3.2 application and I already have my app in the vps deployed with port 3000 but I don't know how to get Plesk to direct traffic to me for the port of my application; that is to say that I can enter through my dominio.com and direct it to that port and I have tried and without success (I am the root). If you could help me

[courtesy admin translation]

Buenas para todos. Estoy usando Plesk Obsidian 18.0.70 y estoy tratando de desplegar mi aolicacion de next js v15.3.2 y ya tengo mi app en el vps desplegada con el puerto 3000 pero no se como hacer para que plesk me dirija el trafico pra el puerto de mi aplicacion; es decir que pueda entrar por mi dominio.com y me lo dirija a ese puerto y lo he intentado y sin exito(soy el root). Si me pudieran ayudar
 
Last edited by a moderator:
Super late at responding but to answer your question you will need to proxy pass the traffic to the port. For NGINX as the web server you can add the following to the additional nginx directives in Apache & nginx Settings:

NGINX:
location / {
    proxy_pass http://127.0.0.1:3000; # Forward requests to the backend server
    proxy_set_header Host $host; # Preserve the original Host header
    proxy_set_header X-Real-IP $remote_addr; # Forward client IP
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # Track proxies
}
 
Back
Top