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
ee7b1d48
Commit
ee7b1d48
authored
Jun 27, 2019
by
Simonas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
release 1.5.0
parent
6a4cfed7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
1 deletion
+20
-1
.env
.env
+1
-1
server-shared.conf
nginx/conf.d/server-shared.conf
+12
-0
nginx.conf
nginx/nginx.conf
+7
-0
No files found.
.env
View file @
ee7b1d48
...
...
@@ -2,7 +2,7 @@ PROJECT=biuro-staging
IMAGE_NGINX=fholzer/nginx-brotli
IMAGE_MYSQL=mariadb:10.3
IMAGE_WORDPRESS=biuro/web:1.
4.5
IMAGE_WORDPRESS=biuro/web:1.
5.0
IMAGE_WORDPRESS_CLI=wordpress:cli-php7.3
DB_NAME=staging_biuro
...
...
nginx/conf.d/server-shared.conf
View file @
ee7b1d48
...
...
@@ -24,6 +24,18 @@ location /wp-json/api/v1/contacts {
# auth_basic_user_file /var/www/html/.htpasswd;
}
location
= /
wp
-
admin
/
admin
-
post
.
php
{
access_log
/
var
/
log
/
nginx
/
postdata
.
log
postdata
;
try_files
$
uri
=
404
;
fastcgi_split_path_info
^(.+\.
php
)(/.+)$;
fastcgi_pass
wordpress
:
9000
;
fastcgi_index
index
.
php
;
include
fastcgi_params
;
fastcgi_param
SCRIPT_FILENAME
$
document_root
$
fastcgi_script_name
;
fastcgi_param
PATH_INFO
$
fastcgi_path_info
;
}
location
~ \.
php
$ {
try_files
$
uri
=
404
;
fastcgi_split_path_info
^(.+\.
php
)(/.+)$;
...
...
nginx/nginx.conf
View file @
ee7b1d48
...
...
@@ -62,6 +62,11 @@ http {
'
$status
$body_bytes_sent
"
$http_referer
"
'
'"
$http_user_agent
"
"
$http_x_forwarded_for
"'
;
log_format
postdata
'
$remote_addr
-
$remote_user
[
$time_local
]
'
'"
$request
"
$status
$bytes_sent
'
'"
$http_referer
"
"
$http_user_agent
"
"
$gzip_ratio
"
$request_time
"
$request_body
"'
;
# Log access to this file
# This is only used when you don't override it on a server{} level
# Default: logs/access.log combined
...
...
@@ -157,6 +162,8 @@ http {
font/woff2
"*"
;
}
client_max_body_size
10M
;
# Include files in the conf.d folder.
# server{} configuration files should be placed in the conf.d folder.
# The configurations should be disabled by prefixing files with a dot.
...
...
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