do gzip compression in nginx
This commit is contained in:
parent
782dc78652
commit
9ed7abde0e
|
@ -1,4 +1,5 @@
|
||||||
listen 443 default_server;
|
listen 443 default_server;
|
||||||
|
gzip on;
|
||||||
location / {
|
location / {
|
||||||
set $redirect 0;
|
set $redirect 0;
|
||||||
if ($server_port != 443) {
|
if ($server_port != 443) {
|
||||||
|
|
|
@ -2,6 +2,7 @@ const { withPlausibleProxy } = require('next-plausible')
|
||||||
const { RuntimeSources } = require('/opt/elasticbeanstalk/deployment/app_version_manifest.json') // eslint-disable-line
|
const { RuntimeSources } = require('/opt/elasticbeanstalk/deployment/app_version_manifest.json') // eslint-disable-line
|
||||||
|
|
||||||
module.exports = withPlausibleProxy()({
|
module.exports = withPlausibleProxy()({
|
||||||
|
compress: false,
|
||||||
generateBuildId: async () => {
|
generateBuildId: async () => {
|
||||||
// use the app version which eb doesn't otherwise give us
|
// use the app version which eb doesn't otherwise give us
|
||||||
// as the build id
|
// as the build id
|
||||||
|
|
Loading…
Reference in New Issue