Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
staging.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
staging.biuro
Commits
7a200c46
Commit
7a200c46
authored
Aug 22, 2019
by
Simonas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.8.0
parent
ae513a52
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
45 additions
and
9 deletions
+45
-9
.env
.env
+1
-1
web_performance_svgz-compression.conf
nginx/h5bp/location/web_performance_svgz-compression.conf
+14
-0
pre-compressed_content_brotli.conf
...x/h5bp/web_performance/pre-compressed_content_brotli.conf
+17
-0
pre-compressed_content_gzip.conf
nginx/h5bp/web_performance/pre-compressed_content_gzip.conf
+13
-0
biuro.lt.conf
nginx/redirects/biuro.lt.conf
+0
-8
No files found.
.env
View file @
7a200c46
...
@@ -2,7 +2,7 @@ PROJECT=biuro-staging
...
@@ -2,7 +2,7 @@ PROJECT=biuro-staging
IMAGE_NGINX=fholzer/nginx-brotli
IMAGE_NGINX=fholzer/nginx-brotli
IMAGE_MYSQL=mariadb:10.3
IMAGE_MYSQL=mariadb:10.3
IMAGE_WORDPRESS=biuro/web:1.
7
.0
IMAGE_WORDPRESS=biuro/web:1.
8
.0
IMAGE_WORDPRESS_CLI=wordpress:cli-php7.3
IMAGE_WORDPRESS_CLI=wordpress:cli-php7.3
DB_NAME=staging_biuro
DB_NAME=staging_biuro
...
...
nginx/h5bp/location/web_performance_svgz-compression.conf
0 → 100644
View file @
7a200c46
# ----------------------------------------------------------------------
# | SVGZ Compression |
# ----------------------------------------------------------------------
# SVGZ files are already compressed.
# Disable gzip function for `.svgz` files.
location
~* \.
svgz
$ {
gzip
off
;
add_header
Content
-
Encoding
gzip
;
include
h5bp
/
security
/
x
-
content
-
type
-
options
.
conf
;
include
h5bp
/
cross
-
origin
/
requests
.
conf
;
}
nginx/h5bp/web_performance/pre-compressed_content_brotli.conf
0 → 100644
View file @
7a200c46
# ----------------------------------------------------------------------
# | Brotli pre-compressed content |
# ----------------------------------------------------------------------
# Serve brotli compressed files if they exist and if the client accepts brotli
# encoding.
#
# (!) To make this part relevant, you need to generate encoded files by your
# own. Enabling this part will not auto-generate brotlied files.
#
# Note that some clients (eg. browsers) require a secure connection to request
# brotli-compressed resources.
# https://www.chromestatus.com/feature/5420797577396224
#
# https://github.com/eustas/ngx_brotli/#brotli_static
brotli_static
on
;
nginx/h5bp/web_performance/pre-compressed_content_gzip.conf
0 → 100644
View file @
7a200c46
# ----------------------------------------------------------------------
# | GZip pre-compressed content |
# ----------------------------------------------------------------------
# Serve gzip compressed files if they exist and if the client accepts gzip
# encoding.
#
# (!) To make this part relevant, you need to generate encoded files by your
# own. Enabling this part will not auto-generate gziped files.
#
# https://nginx.org/en/docs/http/ngx_http_gzip_static_module.html
gzip_static
on
;
nginx/redirects/biuro.lt.conf
View file @
7a200c46
...
@@ -2,14 +2,6 @@
...
@@ -2,14 +2,6 @@
# CV security redirects
# CV security redirects
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
location
^~ /
wp
-
content
/
uploads
/
2019
/ {
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
if
($
http_referer
!~* .*
livas
.
biuro
.
lt
.*) {
return
403
;
}
}
location
^~ /
wp
-
content
/
uploads
/
additional
/ {
location
^~ /
wp
-
content
/
uploads
/
additional
/ {
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
...
...
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