Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/RestyaPlatform/board into is…
Browse files Browse the repository at this point in the history
…sue/4388
  • Loading branch information
saravanan477 committed Mar 10, 2022
2 parents fc4c970 + 809a2d6 commit 05c739f
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 4 deletions.
1 change: 1 addition & 0 deletions .htpassword
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
restya:$apr1$DQIHRX5N$5N4aWaY7ozpbjsf.NAnR3.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ sudo ./restyaboard.sh

* You can configure the Nginx rate limit for Restyaboard by following the instructions from the documentation link [https://restya.com/board/docs/restyaboard-nginx-reverse-proxy-configuration/#configuration-of-rate-limiting-on-nginx](https://restya.com/board/docs/restyaboard-nginx-reverse-proxy-configuration/#configuration-of-rate-limiting-on-nginx)

### Diagnose Configuration

* You can enable the password authentication for the diagnose page by following the instructions from the documentation link [https://restya.com/board/docs/restyaboard-nginx-reverse-proxy-configuration/#configuration-of-diagnose-with-password-authentication](https://restya.com/board/docs/restyaboard-nginx-reverse-proxy-configuration/#configuration-of-diagnose-with-password-authentication)

### Forum

* [Restya Google Group](https://groups.google.com/d/forum/restya)
Expand Down
2 changes: 1 addition & 1 deletion client/js/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var R_MLDAP_LOGIN_HANDLE = '';
var R_MLDAP_SERVERS = '';
var last_activity = '';
var previous_date = '';
var SecuritySalt = 'e9a556134534545ab47c6c81c14f06c0b8sdfsdf';
const SecuritySalt = 'e9a556134534545ab47c6c81c14f06c0b8sdfsdf';
var last_user_activity_id = 0,
load_more_last_board_activity_id = 0,
last_board_activity_id = 0,
Expand Down
31 changes: 28 additions & 3 deletions docs/restyaboard-nginx-reverse-proxy-configuration.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
description: Restyaboard Configuration, here you can check Configuration of Restyaboard on an NGINX Reverse proxy
description: Restyaboard Configuration, here you can check Configuration of Restyaboard on an NGINX
---

# Configuration of Restyaboard on an NGINX Reverse proxy
# Configuration of Restyaboard on an NGINX

## Configuration of Restyaboard on an NGINX Reverse proxy

Expand Down Expand Up @@ -32,4 +32,29 @@ limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s;
location / {
limit_req zone=mylimit;
}
```
```

## Configuration of Diagnose with password authentication

* You can enable the password authentication for the diagnose page by adding the below lines

**Example**
```
location /diagnose.php {
auth_basic "Restricted Area";
auth_basic_user_file /usr/share/nginx/html/.htpasswd;
try_files $uri =404;
include fastcgi_params;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
```

* You can configure the password authentication for the diagnose page in the Apache server by following the instructions from the [link](https://stackoverflow.com/a/8275094)

* You can check the status of the Restyaboard in the diagnose and you can access the diagnose page using the username `restya`, password `restya123`

* You can also configure the different password in the Nginx server configuration for the diagnose page by following the instructions from the link [https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/](https://docs.nginx.com/nginx/admin-guide/security-controls/configuring-http-basic-authentication/)

* You can also configure the different password in the Apache server configuration for the diagnose page by following the instructions from the link [https://www.web2generators.com/apache-tools/htpasswd-generator](https://www.web2generators.com/apache-tools/htpasswd-generator)

0 comments on commit 05c739f

Please sign in to comment.