Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dev.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
dev.biuro
Commits
1f3ee098
Commit
1f3ee098
authored
May 25, 2019
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.1.1
parent
4fc6b9ac
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
web_performance_cache_expiration.conf
nginx/h5bp/location/web_performance_cache_expiration.conf
+3
-3
nginx.conf
nginx/nginx.conf
+3
-3
No files found.
nginx/h5bp/location/web_performance_cache_expiration.conf
View file @
1f3ee098
...
@@ -33,14 +33,14 @@ location ~* \.(?:rss|atom)$ {
...
@@ -33,14 +33,14 @@ location ~* \.(?:rss|atom)$ {
# Media files
# Media files
location
~* \.(?:
webp
|
jpg
|
jpeg
|
gif
|
png
|
ico
|
cur
|
gz
|
svg
|
mp4
|
ogg
|
ogv
|
webm
|
htc
)$ {
location
~* \.(?:
webp
|
jpg
|
jpeg
|
gif
|
png
|
ico
|
cur
|
gz
|
svg
|
mp4
|
ogg
|
ogv
|
webm
|
htc
)$ {
access_log
off
;
access_log
off
;
expires
1
M
;
expires
6
M
;
}
}
# Media: svgz files are already compressed.
# Media: svgz files are already compressed.
location
~* \.
svgz
$ {
location
~* \.
svgz
$ {
access_log
off
;
access_log
off
;
gzip
off
;
gzip
off
;
expires
1
M
;
expires
6
M
;
}
}
# CSS and JavaScript
# CSS and JavaScript
...
@@ -52,6 +52,6 @@ location ~* \.(?:css|js)$ {
...
@@ -52,6 +52,6 @@ location ~* \.(?:css|js)$ {
# Web fonts
# Web fonts
# If you are NOT using cross-domain-fonts.conf, uncomment the following directive
# If you are NOT using cross-domain-fonts.conf, uncomment the following directive
location
~* \.(?:
eot
|
otf
|
tt
[
cf
]|
woff2
?)$ {
location
~* \.(?:
eot
|
otf
|
tt
[
cf
]|
woff2
?)$ {
expires
1
M
;
expires
6
M
;
access_log
off
;
access_log
off
;
}
}
nginx/nginx.conf
View file @
1f3ee098
...
@@ -90,12 +90,12 @@ http {
...
@@ -90,12 +90,12 @@ http {
# https://nginx.org/en/docs/http/ngx_http_core_module.html#tcp_nopush
# https://nginx.org/en/docs/http/ngx_http_core_module.html#tcp_nopush
tcp_nopush
on
;
tcp_nopush
on
;
# Enable gzip compression.
include
h5bp/web_performance/compression.conf
;
# Enable brotli compression.
# Enable brotli compression.
include
h5bp/web_performance/compression-brotli.conf
;
include
h5bp/web_performance/compression-brotli.conf
;
# Enable gzip compression.
include
h5bp/web_performance/compression.conf
;
# Specify file cache expiration.
# Specify file cache expiration.
# include h5bp/web_performance/cache_expiration.conf;
# include h5bp/web_performance/cache_expiration.conf;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment