Sindbad~EG File Manager

Current Path : /opt/nginxhttpd_/etc/openresty_config/internal_vhosts/
Upload File :
Current File : //opt/nginxhttpd_/etc/openresty_config/internal_vhosts/forwarder_vhost.conf

# This VHOST is a Forwarder, meaning it will redirect the request to the originalBackend (mutu) on the right port (8081,4430)
# When listening to :8888 it's used as a failback. For instance, Ipxtender receive a HTTP 5XX error from the cache, it will re-play the HTTP request to the forwarder vhost
# When listening to :80 it's used by the cache servers to contact the originalBackend servers on the right port (8081,4430) depending on the X-Forwarded-proto HTTP Header
server {
    listen 80; # When in place as a Forwarder on a cache server
    # listen 8888; # When in place as a Backup/Failback on a ipxtender server
    
    location / {
        proxy_intercept_errors off;
        include proxy_pass/forwarder_proxy_pass.conf;
        add_header X-Bypassed 1; # Comment this when it's a forwarder on a cache server
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists