how to use nginx reverse proxy with web report server (ssrs)?

danjos abopri 21 Reputation points
2022-12-15T12:44:21.607+00:00

Hi

I tried to run my web report server (ssrs) behind my nginx reverse proxy but failed. I get the error 404 not found when i tried https://nginx.mydomain.com/xxxx/reports
how to fix this please?

this is my code in nginx.conf

location /xxxx
{
include /opt/nginx/conf/mime.types;
proxy_set_header Host $host;

proxy_set_header Host $proxy_host;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header X-Forwarded-Proto $scheme;

client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;

fastcgi_buffers 32 32k;

fastcgi_buffer_size 32k;

proxy_pass http://192.168.1.123/;
}

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,061 questions
{count} votes

Accepted answer
  1. Anonymous
    2022-12-16T01:59:18.213+00:00

    Hi @danjos abopri
    I'm not particularly familiar with nginx reverse proxy. But according to the information I searched, you need to do SSRS settings in addition to NGINX settings. Have you made changes to rsreportserver.config? You can refer to this link: configuring-nginx-plus-to-work-with-ssrs-and-ntlm-as-a-reverse-proxy. If you're not sure if this method is correct, make a backup of rsreportserver.config.
    Best regards,
    Aniya


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.