0

I am getting an error with an Azure App Services (Python) with Nginx for a Bad Gateway. Investigation led to me understand that the URL length was too long for Nginx to handle. So I need to adjust the large client head buffers

But when I try to access the nginx .conf files it seems I am not allowed to do it.

Is there a way to achieve this?

client_header_buffer_size 5120k;
large_client_header_buffers 16 5120k;
mp252
  • 315
  • 1
  • 5
  • 15

1 Answers1

0

I have try to set redirect setings like you in default.conf file. I can set it successfully, but few minutes later, it's gone. I can't find nginx folder and default.conf file.

All my try is failed,So I think we don't have permissions to change that like your link said.

So I recommand you create custom container with nginx to host your webapp. It will help you solve the issues.

Offical doc:

1. Migrate custom software to Azure App Service using a custom container

2. uwsgi-nginx-docker

Jason Pan
  • 5,844
  • 1
  • 7
  • 12