Welcome! Log In Create A New Profile


Nginx reverse proxy 502 bad gateway

Posted by leshcode 
Nginx reverse proxy 502 bad gateway
March 20, 2023 01:15PM
Hello i want to use nginx reverse proxy url parameters but not working.

my default

location /redirect {
proxy_pass $arg_url;
proxy_ssl_server_name on;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
proxy_set_header Host $proxy_host;
proxy_cache_bypass $http_upgrade;
client_max_body_size 100M;
proxy_buffering off;
proxy_buffer_size 16k;
proxy_busy_buffers_size 24k;
proxy_buffers 64 4k;
proxy_redirect off;

I try login my website:


Result 502 Bad Gateway

Why can't i use
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 208
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 494 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready