Hello, I am setting up a proxy that accepts only image requests and sends them to upstream (internet). Sample config: # Limit requests to only images default_type image/webp; if ($request_uri !~* ^.+\.(jpg|jpeg|gif|css|png|html|htm|ico|xml|svg) ) { return 403; break; } The problem is there will be images without extension. How do we tackle that? I didby amenjava - Nginx Mailing List - English
Hello , I am having issues sending a request using nginx to upstream. (internet). The URL which received by nginx is encoded. I was under the impression that nginx does decode or able to send the URL as it is, but some reason its not working. Config: http { server { listen 443 ssl; ssl_certificate /etc/pki/nginx/nginx.pem; ssl_certificate_key /etc/pki/nginby amenjava - Other discussion
Hello, I am trying to setup a HTTPS forward proxy(nginx) which accepts the requests , rewrite it and send to the original source. original request - http://randomimg.com/picture.jpg TO https://nginxproxy.com/imgproxy?source=http://ranomimg.com/picture.jpg. I did compile nginx with proxy connect module and also enabled SSL. (i can post the config if needed), but seems like its not sby amenjava - Other discussion