|
Server IP : 62.171.151.215 / Your IP : 216.73.217.19 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 Directory (1777) : /tmp/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
server {
listen 80;
server_name comment-devenir-developpeur.com;
root /var/www/comment-devenir-developpeur.com;
location = /ads.txt {
default_type text/plain;
add_header Cache-Control "no-cache, must-revalidate";
try_files /ads.txt =404;
}
location / {
return 301 https://www.comment-devenir-developpeur.com$request_uri;
}
}
server {
listen 80;
server_name www.comment-devenir-developpeur.com;
root /var/www/comment-devenir-developpeur.com;
location = /ads.txt {
default_type text/plain;
add_header Cache-Control "no-cache, must-revalidate";
try_files /ads.txt =404;
}
location / {
return 301 https://www.comment-devenir-developpeur.com$request_uri;
}
}
server {
listen 443 ssl;
server_name comment-devenir-developpeur.com;
root /var/www/comment-devenir-developpeur.com;
ssl_certificate /etc/letsencrypt/live/comment-devenir-developpeur.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/comment-devenir-developpeur.com/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
location = /ads.txt {
default_type text/plain;
add_header Cache-Control "no-cache, must-revalidate";
try_files /ads.txt =404;
}
location / {
return 301 https://www.comment-devenir-developpeur.com$request_uri;
}
}
server {
listen 443 ssl;
server_name www.comment-devenir-developpeur.com;
client_max_body_size 128M;
root /var/www/comment-devenir-developpeur.com;
index index.php index.html;
# Gzip compression
gzip on;
gzip_vary on;
gzip_proxied any;
gzip_comp_level 6;
gzip_types text/plain text/css text/xml text/javascript application/json application/javascript application/xml+rss application/atom+xml image/svg+xml;
location = /ads.txt {
default_type text/plain;
add_header Cache-Control "no-cache, must-revalidate";
try_files /ads.txt =404;
}
# Cache headers pour assets statiques
location ~* \.(css|js|jpg|jpeg|png|gif|webp|svg|ico|woff|woff2|ttf|eot)$ {
expires 1y;
add_header Cache-Control "public, immutable";
access_log off;
}
location / {
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/run/php/php8.4-fpm.sock;
fastcgi_read_timeout 300;
}
ssl_certificate /etc/letsencrypt/live/comment-devenir-developpeur.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/comment-devenir-developpeur.com/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
}