fix(core): update
This commit is contained in:
parent
877fd08bae
commit
0e15004997
@ -8,18 +8,14 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen [::]:443 ssl http2;
|
listen [::]:3000;
|
||||||
listen 443 ssl http2;
|
listen 3000;
|
||||||
|
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
auth_basic "Restricted Access";
|
auth_basic "Restricted Access";
|
||||||
auth_basic_user_file /etc/nginx/htpasswd.users;
|
auth_basic_user_file /etc/nginx/htpasswd.users;
|
||||||
|
|
||||||
ssl on;
|
|
||||||
ssl_certificate /etc/nginx/ssl/kibana.crt;
|
|
||||||
ssl_certificate_key /etc/nginx/ssl/kibana.key;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:5601;
|
proxy_pass http://127.0.0.1:5601;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
@ -31,18 +27,14 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen [::]:9201 ssl http2;
|
listen [::]:9201;
|
||||||
listen 9201 ssl http2;
|
listen 9201;
|
||||||
|
|
||||||
server_name _;
|
server_name _;
|
||||||
|
|
||||||
auth_basic "Restricted Access";
|
auth_basic "Restricted Access";
|
||||||
auth_basic_user_file /etc/nginx/htpasswd.users;
|
auth_basic_user_file /etc/nginx/htpasswd.users;
|
||||||
|
|
||||||
ssl on;
|
|
||||||
ssl_certificate /etc/nginx/ssl/kibana.crt;
|
|
||||||
ssl_certificate_key /etc/nginx/ssl/kibana.key;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:9200;
|
proxy_pass http://127.0.0.1:9200;
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
|
Loading…
Reference in New Issue
Block a user