HEX
Server: nginx/1.18.0
System: Linux srv01 5.15.0-171-generic #181-Ubuntu SMP Fri Feb 6 22:44:50 UTC 2026 x86_64
User: RaviMohan (1026)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //etc/nginx/sites-enabled/apexxgold.com
server {
    listen 80;
    listen [::]:80;
    server_name apexxgold.com;

    # Redirect all HTTP to HTTPS
    return 301 https://www.apexxgoldmining.com$request_uri;
}
server {
    listen 80;
    listen [::]:80;
    server_name www.apexxgold.com;

    # Redirect all HTTP to HTTPS
    return 301 https://www.apexxgoldmining.com$request_uri;
}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    server_name apexxgold.com;

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

    # SSL Configuration (Use strong ciphers)
    ssl_certificate /home/KawaljitDhami/apexxgold.com/.ssl/fullchain.pem;
    ssl_certificate_key /home/KawaljitDhami/apexxgold.com/.ssl/privkey.pem;

    # HSTS (ngx_http_headers_module is required) (63072000 seconds)
    add_header Strict-Transport-Security "max-age=63072000" always;

    # intermediate configuration
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ecdh_curve X25519:prime256v1:secp384r1;
    ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305;
    ssl_prefer_server_ciphers off;

    # see also ssl_session_ticket_key alternative to stateful session cache
    ssl_session_timeout 1d;
    ssl_session_cache shared:MozSSL:10m;  # about 40000 sessions

}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    server_name www.apexxgold.com;

    root /home/KawaljitDhami/apexxgold.com/web;
    index index.html;

    # Redirect all HTTP to HTTPS
    return 301 https://www.apexxgoldmining.com$request_uri;


    # SSL Configuration (Use strong ciphers)
    ssl_certificate /home/KawaljitDhami/apexxgold.com/.ssl/fullchain.pem;
    ssl_certificate_key /home/KawaljitDhami/apexxgold.com/.ssl/privkey.pem;

    # HSTS (ngx_http_headers_module is required) (63072000 seconds)
    add_header Strict-Transport-Security "max-age=63072000" always;

    # intermediate configuration
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ecdh_curve X25519:prime256v1:secp384r1;
    ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305;
    ssl_prefer_server_ciphers off;

    # see also ssl_session_ticket_key alternative to stateful session cache
    ssl_session_timeout 1d;
    ssl_session_cache shared:MozSSL:10m;  # about 40000 sessions

}