Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Access to the requested URI has been blocked by the URL Firewall

$
0
0
We are using Nginx as a reverse proxy for an Oracle Enterprise Linux webserver. Everything is working great however we attempted to add a page with a video and we got the following error:

Access to the requested URI has been blocked by the URL Firewall

I'm not sure where to go with it from here, any help would be appreciated. Below is the config file

upstream istore {
server gdtstistore1.co.com:8050;
}

upstream vsearch {
server vehiclesearch.rt.com:80;
}

upstream info {
server gdtstistore1.co.com:81;
}

server {
#www.2n.com reverse proxy config
listen 172.16.1.112:80;
keepalive_timeout 70;
server_name www.tst.2n.com;
access_log /var/log/nginx/www.2n.com.log;
error_log /var/log/nginx/www.2n.com.error_log;
root /mnt/istore/nginx_root;
index index.html;
client_max_body_size 256M;

location / {
}

## send request back to apache1 ##
location /OA_HTML {
proxy_pass http://istore;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_redirect off;
proxy_buffering off;
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_read_timeout 120;
proxy_connect_timeout 120;
}

location /OA_MEDIA {
proxy_pass http://istore;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_redirect off;
proxy_buffering off;
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_read_timeout 120;
proxy_connect_timeout 120;
}

location /oa_servlets {
proxy_pass http://istore;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_redirect off;
proxy_buffering off;
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_read_timeout 120;
proxy_connect_timeout 120;
}

location /vsearch {
set $vsearch_host "vehiclesearch.rt.com";
proxy_pass http://vsearch/;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_redirect off;
proxy_buffering off;
proxy_set_header Host $vsearch_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
expires off;
proxy_read_timeout 120;
proxy_connect_timeout 120;

}

location /info {
proxy_pass http://info/;
proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
proxy_redirect off;
proxy_buffering off;
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_read_timeout 120;
proxy_connect_timeout 120;
}

}


server {
#RT
listen 172.16.1.111:80;
rewrite ^(.*) http://www.tst.2n.com/OA_HTML/XXTR1_Login.html;
}


server {
#STORE.RE>COM
listen 172.16.1.110:80;
rewrite ^(.*) http://www.tst.2n.com/OA_HTML/XXD3_Login.jsp permanent;
}

server {
#Justin's info.tdxpert.com site
listen 172.16.1.110:81;
access_log /var/log/nginx/info.tdxpert.com.log;
error_log /var/log/nginx/info.tdxpert.com.error_log;
root /srv/www/info/fastrack;
index index.html;
}

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>