Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cern-drupal-distribution
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal
paas
cern-drupal-distribution
Commits
fae7cbb4
Commit
fae7cbb4
authored
4 years ago
by
Vineet Reddy Rajula
Browse files
Options
Downloads
Patches
Plain Diff
Add gzip compression to nginx
parent
b6df2d7a
No related branches found
No related tags found
2 merge requests
!11
Perf nginx
,
!10
Draft: Added Redis and Predis to composer
Pipeline
#2698133
passed
4 years ago
Stage: nginx
Stage: sitebuilder
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
images/nginx/config/default.conf
+8
-0
8 additions, 0 deletions
images/nginx/config/default.conf
with
8 additions
and
0 deletions
images/nginx/config/default.conf
+
8
−
0
View file @
fae7cbb4
...
@@ -12,6 +12,14 @@ server {
...
@@ -12,6 +12,14 @@ server {
#ssl_session_timeout 4h;
#ssl_session_timeout 4h;
root
/
var
/
run
/
app
/
web
;
root
/
var
/
run
/
app
/
web
;
# Add gzip compression
gzip
on
;
gzip_vary
on
;
gzip_min_length
1000
;
gzip_comp_level
5
;
gzip_types
application
/
json
text
/
css
text
/
javascript
application
/
x
-
javascript
application
/
javascript
image
/
svg
+
xml
;
gzip_proxied
any
;
# Disables specifying the port in absolute redirects
# Disables specifying the port in absolute redirects
port_in_redirect
off
;
port_in_redirect
off
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment