add reverse proxy nginx

2 votes

location /embystat/ {
proxy_pass http://62.xxxxxxx:6555/;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 90;
proxy_redirect http://62.2xxxxxx:6555/ https://$host;

Don't work

Under consideration Suggested by: killianbe Upvoted: 13 Apr, '22 Comments: 4

Comments: 4

Add a comment

0 / 1,000

* Your name will be publicly visible

* Your email will be visible only to moderators