| Server IP : 62.171.151.215 / Your IP : 216.73.217.53 Web Server : nginx/1.18.0 System : Linux vmi3128365 5.15.0-176-generic #186-Ubuntu SMP Fri Mar 13 11:01:42 UTC 2026 x86_64 User : alex ( 1000) PHP Version : 8.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /etc/nginx/sites-available/ |
Upload File : |
server {
listen 80;
server_name jesuisfauche.com;
return 301 https://www.jesuisfauche.com$request_uri;
}
server {
listen 80;
server_name www.jesuisfauche.com;
return 301 https://www.jesuisfauche.com$request_uri;
}
server {
listen 443 ssl;
server_name jesuisfauche.com;
ssl_certificate /etc/letsencrypt/live/jesuisfauche.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/jesuisfauche.com/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
return 301 https://www.jesuisfauche.com$request_uri;
}
server {
listen 443 ssl;
server_name www.jesuisfauche.com;
ssl_certificate /etc/letsencrypt/live/jesuisfauche.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/jesuisfauche.com/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
# Reverse proxy vers Next.js (PM2 sur port 3000)
location / {
proxy_pass http://127.0.0.1:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_cache_bypass $http_upgrade;
}
}