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
2e71ca26
Commit
2e71ca26
authored
Apr 17, 2019
by
Simonas
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'contact-form' of git.biuro.lt:biuro/dev.biuro into contact-form
parents
f8440a92
e2bcc088
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
.htpasswd
nginx/.htpasswd
+1
-2
server-shared.conf
nginx/conf.d/server-shared.conf
+5
-5
No files found.
nginx/.htpasswd
View file @
2e71ca26
alice:$apr1$Q9qBLkLy$YQNxI8/GYuHLmoOUkbjN70
BiuroPowerBI:$apr1$5nxZLxY0$egUbQUHmxcSfqzIiSsLgx.
bob:$apr1$5rz0Qz20$Xuo4c3yrZRjkAk89il7Us/
nginx/conf.d/server-shared.conf
View file @
2e71ca26
...
@@ -19,11 +19,11 @@ location / {
...
@@ -19,11 +19,11 @@ location / {
# auth_basic_user_file /etc/nginx/.htpasswd;
# auth_basic_user_file /etc/nginx/.htpasswd;
}
}
# location /wp-json/api/v1/contacts
{
location
/
wp
-
json
/
api
/
{
# try_files $uri $uri/ =404
;
try_files
$
uri
$
uri
/ /
index
.
php
?$
args
;
# auth_basic "Restricted Content
";
auth_basic
"Basic auth
"
;
# auth_basic_user_file /etc/nginx
/.htpasswd;
auth_basic_user_file
/
var
/
www
/
html
/.
htpasswd
;
#
}
}
location
~ \.
php
$ {
location
~ \.
php
$ {
try_files
$
uri
=
404
;
try_files
$
uri
=
404
;
...
...
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