KBVPS & Serveurs

Configurer un reverse proxy Nginx

9 vues · Mis à jour le 10/05/2026

Reverse Proxy Nginx

Installation

apt install nginx

Configuration

server {\n    listen 80;\n    server_name app.votredomaine.ca;\n    location / {\n        proxy_pass http://localhost:3000;\n        proxy_set_header Host $host;\n        proxy_set_header X-Real-IP $remote_addr;\n    }\n}

SSL avec Certbot

apt install certbot python3-certbot-nginx\ncertbot --nginx -d app.votredomaine.ca
Cet article vous a-t-il été utile?
Besoin d'aide?

Vous n'avez pas trouvé votre réponse?

Ouvrir un ticket
Écosystème NHC : 🌐 NHC Hosting 🚀 NHC Portal 🖥️ NHC Panel 🔑 NHC Manager 📡 NHC Uptime 🛡️ NHC Security