git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(Restructure) Move controls to separate file.
[matches/MCTX3420.git]
/
nginx-configs
/
sites-enabled
/
mctxconfig
diff --git
a/nginx-configs/sites-enabled/mctxconfig
b/nginx-configs/sites-enabled/mctxconfig
index
dfdf2b9
..
4da2b84
100644
(file)
--- a/
nginx-configs/sites-enabled/mctxconfig
+++ b/
nginx-configs/sites-enabled/mctxconfig
@@
-73,12
+73,12
@@
server {
#MCTX API
location /api {
#Login area
#MCTX API
location /api {
#Login area
- location ^~ /api/
login
{
+ location ^~ /api/
control
{
auth_basic "Restricted Access";
auth_basic_user_file /usr/share/nginx/access/.htpasswd;
fastcgi_pass 127.0.0.1:9005;
auth_basic "Restricted Access";
auth_basic_user_file /usr/share/nginx/access/.htpasswd;
fastcgi_pass 127.0.0.1:9005;
- fastcgi_param DOCUMENT_URI_LOCAL
login
;
+ fastcgi_param DOCUMENT_URI_LOCAL
control
;
include fastcgi_params;
}
location ~ ^/api/?([^?]*) {
include fastcgi_params;
}
location ~ ^/api/?([^?]*) {
UCC
git Repository :: git.ucc.asn.au