gzip压缩-Azure应用服务-Linux-容器 [英] gzip compression - azure app service-Linux - container

查看:42
本文介绍了gzip压缩-Azure应用服务-Linux-容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在azure应用程序服务(Linux)容器中启用gzip压缩?

How to enable gzip compression in azure app service (Linux) container?

我部署了asp.net核心MVC应用程序

I deployed asp.net core MVC application

拉杰什


推荐答案

您可以尝试在nginx.config文件中添加"gzip on",看看是否有帮助.在此处查看示例以供参考- https://github.com/prashanthmadi /ai-duet-tensor/blob/master/nginx.conf –让我们知道它的运行方式,并提供有关您的应用程序框架和要求的更多详细信息.

You could try adding ‘gzip on’ in nginx.config file and see if that helps. Take a look at the sample for a reference here -https://github.com/prashanthmadi/ai-duet-tensor/blob/master/nginx.conf – let us know how it goes with more details on your application framework and requirement.


这篇关于gzip压缩-Azure应用服务-Linux-容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆