Reverse Proxy Nginx
Installation
apt install nginxConfiguration
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?
Articles similaires