mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-19 12:34:19 +01:00
Preparations for status backend
This commit is contained in:
@@ -5,11 +5,9 @@ server {
|
||||
ssl_certificate /etc/ssl/certs/cert.pem;
|
||||
ssl_certificate_key /etc/ssl/private/key.pem;
|
||||
|
||||
location /status {
|
||||
auth_basic "status";
|
||||
auth_basic_user_file conf.d/status/htpasswd;
|
||||
location /s/ {
|
||||
auth_request /auth;
|
||||
root /etc/nginx/conf.d;
|
||||
index statuspage.html;
|
||||
}
|
||||
|
||||
include /etc/nginx/conf.d/nginx-spark-conf;
|
||||
@@ -27,6 +25,7 @@ server {
|
||||
}
|
||||
|
||||
location /auth {
|
||||
error_log /var/log/shice.log debug;
|
||||
internal;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME /etc/nginx/conf.d/auth.sh;
|
||||
|
||||
Reference in New Issue
Block a user