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
fd7d7c2a
Commit
fd7d7c2a
authored
Jul 22, 2019
by
Simonas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nginx config update
parent
7c200180
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1 addition
and
250 deletions
+1
-250
.eslintrc
.eslintrc
+0
-28
nginx.conf
nginx/nginx.conf
+1
-0
biuro.ee.conf
nginx/redirects/biuro.ee.conf
+0
-8
biuro.lt.conf
nginx/redirects/biuro.lt.conf
+0
-8
biuro.lv.conf
nginx/redirects/biuro.lv.conf
+0
-8
sample.pdf
wp-content/uploads/2019/04/sample.pdf
+0
-198
No files found.
.eslintrc
View file @
fd7d7c2a
...
...
@@ -8,32 +8,4 @@
"indent": ["error", 4],
"semi": ["error", "always"]
}
// "extends": [
// "standard-preact",
// "eslint:recommended"
// ],
// "parserOptions": {
// "ecmaVersion": 6,
// "sourceType": "module",
// "ecmaFeatures": {
// "jsx": true
// }
// },
// "env": {
// "browser": true,
// "es6": true,
// "node": true,
// "mocha": true
// },
// "rules": {
// "no-console": 0, // disallow use of console (off by default in the node environment)
// "no-unused-vars": 1, // disallow declaration of variables that are not used in the code
// "react/jsx-indent": [2, 4]
// // 'indent': [2, 2, { 'SwitchCase': 1, 'VariableDeclarator': 4 }],
// // 'react/jsx-indent': [2, 4],
// // 'react/jsx-indent-props': [0, 2]
// }
}
nginx/nginx.conf
View file @
fd7d7c2a
...
...
@@ -162,6 +162,7 @@ http {
font/woff2
"*"
;
}
client_body_buffer_size
10M
;
client_max_body_size
10M
;
# Include files in the conf.d folder.
...
...
nginx/redirects/biuro.ee.conf
View file @
fd7d7c2a
...
...
@@ -2,14 +2,6 @@
# CV security redirects
# ----------------------------------------------------------------------
location
^~ /
wp
-
content
/
uploads
/
2019
/ {
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
if
($
http_referer
!~* .*
livas
.
biuro
.
ee
.*) {
return
403
;
}
}
location
^~ /
wp
-
content
/
uploads
/
additional
/ {
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
...
...
nginx/redirects/biuro.lt.conf
View file @
fd7d7c2a
...
...
@@ -2,14 +2,6 @@
# 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
/ {
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
...
...
nginx/redirects/biuro.lv.conf
View file @
fd7d7c2a
...
...
@@ -2,14 +2,6 @@
# CV security redirects
# ----------------------------------------------------------------------
location
^~ /
wp
-
content
/
uploads
/
2019
/ {
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
if
($
http_referer
!~* .*
livas
.
biuro
.
lv
.*) {
return
403
;
}
}
location
^~ /
wp
-
content
/
uploads
/
additional
/ {
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
...
...
wp-content/uploads/2019/04/sample.pdf
deleted
100644 → 0
View file @
7c200180
File deleted
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