PNG  IHDR* pHYs+ IDATx]n#; cdLb Ǚ[at¤_:uP}>!Usă cag޿ ֵNu`ݼTâabO7uL&y^wFٝA"l[|ŲHLN밪4*sG3|Dv}?+y߉{OuOAt4Jj.u]Gz*҉sP'VQKbA1u\`& Af;HWj hsO;ogTu uj7S3/QzUr&wS`M$X_L7r2;aE+ώ%vikDA:dR+%KzƉo>eOth$z%: :{WwaQ:wz%4foɹE[9<]#ERINƻv溂E%P1i01 |Jvҗ&{b?9g=^wζXn/lK::90KwrюO\!ջ3uzuGv^;騢wq<Iatv09:tt~hEG`v;3@MNZD.1]L:{ծI3`L(÷ba")Y.iljCɄae#I"1 `3*Bdz>j<fU40⨬%O$3cGt]j%Fߠ_twJ;ABU8vP3uEԑwQ V:h%))LfraqX-ۿX]v-\9I gl8tzX ]ecm)-cgʒ#Uw=Wlێn(0hPP/ӨtQ“&J35 $=]r1{tLuǮ*i0_;NƝ8;-vݏr8+U-kruȕYr0RnC]*ެ(M:]gE;{]tg(#ZJ9y>utRDRMdr9㪩̞zֹb<ģ&wzJM"iI( .ꮅX)Qw:9,i좜\Ԛi7&N0:asϓc];=ΗOӣ APqz93 y $)A*kVHZwBƺnWNaby>XMN*45~ղM6Nvm;A=jֲ.~1}(9`KJ/V F9[=`~[;sRuk]rєT!)iQO)Y$V ی ۤmzWz5IM Zb )ˆC`6 rRa}qNmUfDsWuˤV{ Pݝ'=Kֳbg,UҘVz2ﴻnjNgBb{? ߮tcsͻQuxVCIY۠:(V뺕 ٥2;t`@Fo{Z9`;]wMzU~%UA蛚dI vGq\r82iu +St`cR.6U/M9IENDB` REDROOM
PHP 5.6.40
Preview: webshield.conf Size: 4.54 KB
//etc/imunify360-webshield/webshield.conf

user  imunify360-webshield;

error_log  /var/log/imunify360-webshield/error.log warn;
pid        /var/run/imunify360-webshield.pid;
worker_rlimit_nofile 65536;

events {
    worker_connections  65536;
    multi_accept on;
}

include  /etc/imunify360-webshield/webshield-main.conf.d/*.conf;


http {
    variables_hash_max_size 2048;
    map_hash_max_size 4096;
    map_hash_bucket_size 128;

    # Make sure all clients' headers are passed
    ignore_invalid_headers off;

    # Allow upload of files of unlimited size
    client_max_body_size 0;

    include       /etc/imunify360-webshield/mime.types;
    default_type  application/octet-stream;

    # XFF:"ip" is to match nginx captcha access.log separately from
    # other access logs
    log_format  main  '$wsuserip - $remote_user [$time_local] "$request" '
                      '$status $body_bytes_sent $host "$http_referer" '
                      '"$http_user_agent" WL:"$domain_whitelisted" "$http_x_requested_with" '
                      'XFF:"$http_x_forwarded_for" CAPTCHA:"$totalcaptcha" PEER:$remote_addr';

    access_log  /var/log/imunify360-webshield/access.log  main;

    sendfile        on;
    #tcp_nopush     on;
    #gzip  on;

    proxy_read_timeout 180s;
    proxy_send_timeout 180s;
    proxy_buffering off;
    proxy_buffers 8 128k;
    proxy_buffer_size 128k;
    client_body_buffer_size 128k;

    large_client_header_buffers 4 16k;

    include webshield-http.conf.d/*.conf;

    include /etc/imunify360-webshield/wscheck.conf;
    include /etc/imunify360-webshield/captcha.conf;
    include /etc/imunify360-webshield/splashscreen.conf;
    include /etc/imunify360-webshield/splashscreen-antibot.conf;

    geo $remote_proxy {
        default 0;
        include /etc/imunify360-webshield/agent-proxies.conf;
        include /etc/imunify360-webshield/common-proxies.conf;
    }

    map $host $domain_whitelisted {
        default 0;
        include     /etc/imunify360-webshield/whitelisted-domains.conf;
    }

    map $http_upgrade $connection_upgrade {
        websocket upgrade;
    }

    map $server_addr $bind_target {
        default 127.0.0.1;
        "~^[a-fA-F0-9:\[\]]+$" ::1;
    }

    geo $wsuserip $remote_country_code {
        default none;
        include /etc/imunify360-webshield/country_ips.conf;
    }

    map $remote_country_code $remote_blocked_by_country {
        default 0;
        include /etc/imunify360-webshield/blocked_country_codes.conf;
    }

    geo $wsuserip $custom_whitelisted {
        default 0;
        include /etc/imunify360-webshield/custom-whitelisted.conf;
    }

    geo $wsuserip $custom_blacklisted {
        default 0;
        include /etc/imunify360-webshield/custom-blacklisted.conf;
    }

    lua_shared_dict domains_ips 1m;
    lua_shared_dict splashscreen_sessions 1m;
    lua_shared_dict notfound_ssl_domains 1m;
    init_by_lua_file lua/init.lua;

    access_checker unix:/var/run/imunify360/libiplists-daemon.sock;

    map $server_port $destination_port {
        default 80;
        52223 443;
        52224 80;
        52227 2087;
        52228 2086;
        52229 2083;
        52230 2082;
        52231 2096;
        52232 2095;
        52233 8443;
        52234 8880;
        52235 2222;
    }

    map $destination_port $append_port {
        default 1;
        80  0;
        443 0;
    }

    upstream catchall {
        server 127.0.0.1;
        balancer_by_lua_block {
            local balancer = require "ngx.balancer"
            local host = ngx.var.server_addr
            if host ~= nil and host:match(":") then
                host = "[" .. host .. "]"
            end
            local port = ngx.var.destination_port
            local ok, err = balancer.set_current_peer(host, port)
                if not ok then
                    ngx.log(ngx.ERR, "failed to set the current peer: ", err)
                    return ngx.exit(ngx.ERROR)
                end
        }
        keepalive 32;
    }

    map $access_check_captcha $totalcaptcha {
        default $wscaptcha;
        "" $wscaptcha;
        2 2;
        1 1;
        0 0;
    }

    server {
        server_name _;
        ssl_protocols TLSv1.2 TLSv1.3;
        proxy_ssl_protocols TLSv1.2 TLSv1.3;
        proxy_pass_header Server;
        proxy_ssl_server_name on;
        proxy_ssl_name $host;

        include     /etc/imunify360-webshield/ports.conf;
        include     /etc/imunify360-webshield/ssl_ports.conf;
        include     /etc/imunify360-webshield/ssl.conf;
        include     /etc/imunify360-webshield/webshield-server.conf.d/*.conf;
        include     /etc/imunify360-webshield/virtserver.conf;
    }
}

Directory Contents

Dirs: 9 × Files: 27

Name Size Perms Modified Actions
captcha DIR
- drwxr-xr-x 2025-12-10 13:36:08
Edit Download
- drwxr-xr-x 2025-12-10 13:36:08
Edit Download
ssl_certs DIR
- drwxr-xr-x 2025-12-10 13:36:08
Edit Download
- drwxr-xr-x 2025-12-10 13:36:08
Edit Download
- drwxr-xr-x 2025-12-10 13:36:08
Edit Download
- drwxr-xr-x 2026-02-04 07:06:22
Edit Download
- drwxr-xr-x 2025-12-10 13:36:08
Edit Download
- drwxr-xr-x 2025-12-10 13:36:08
Edit Download
- drwxr-xr-x 2025-12-10 13:36:08
Edit Download
91 B lrw-r--r-- 2025-12-10 13:08:24
Edit Download
130 B lrw-r--r-- 2025-12-10 13:08:24
Edit Download
129 B lrw-r--r-- 2025-12-10 13:08:24
Edit Download
43.59 KB lrw-r--r-- 2026-02-04 07:06:22
Edit Download
440.76 KB lrw-r--r-- 2026-02-04 07:06:22
Edit Download
0 B lrw-r--r-- 2025-12-10 13:08:24
Edit Download
0 B lrw-r--r-- 2025-12-10 13:08:24
Edit Download
1.05 KB lrw-r--r-- 2025-12-10 13:36:08
Edit Download
1007 B lrw-r--r-- 2025-12-10 13:36:08
Edit Download
573 B lrw-r--r-- 2025-12-10 13:08:24
Edit Download
639 B lrw-r--r-- 2025-12-10 13:08:24
Edit Download
2.77 KB lrw-r--r-- 2025-12-10 13:36:08
Edit Download
2.17 KB lrw-r--r-- 2025-12-10 13:36:08
Edit Download
5.22 KB lrw-r--r-- 2025-12-10 13:36:08
Edit Download
194 B lrw-r--r-- 2026-01-20 01:16:55
Edit Download
107 B lrw-r--r-- 2025-12-10 13:08:24
Edit Download
636 B lrw-r--r-- 2025-12-10 13:36:08
Edit Download
24 B lrw-r--r-- 2025-04-11 16:25:57
Edit Download
124 B lrw-r--r-- 2025-12-10 13:08:24
Edit Download
326 B lrw-r--r-- 2025-12-10 13:08:24
Edit Download
326 B lrw-r--r-- 2026-01-20 01:16:55
Edit Download
664 B lrw-r--r-- 2025-12-10 13:36:08
Edit Download
3.45 KB lrw-r--r-- 2025-12-10 13:08:24
Edit Download
4.54 KB lrw-r--r-- 2025-12-10 13:08:24
Edit Download
282 B lrw-r--r-- 2025-12-10 13:08:24
Edit Download
3.53 KB lrw-r--r-- 2025-12-10 13:36:08
Edit Download
516 B lrw-r--r-- 2025-12-10 13:08:24
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 REDROOM — Secure File Manager. All rights reserved. Built with ❤️ & Red Dark UI