This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "log": { | |
| "access": "/var/log/v2ray/access.log", | |
| "error": "/var/log/v2ray/error.log", | |
| "loglevel": "warning" | |
| }, | |
| "inbounds": [{ | |
| "port": 10035, | |
| "listen": "127.0.0.1", | |
| "protocol": "vmess", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright (c) BonvScripts | |
| # Author: Bonveio Abitona | |
| RouteConf='/home/panel/html/config/route.php' | |
| RegisterPHP='/home/panel/html/controller/register.php' | |
| RegisterHTML='/home/panel/html/view/register.html' | |
| if [[ "$(grep -c 'register' ${RouteConf})" -gt 1 ]]; then | |
| sed -i "/^.*\/register.*$/d" "${RouteConf}" | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # How to create downloadable OpenVPN configs using apache | |
| # Dedicated for Angristan's OpenVPN Installer users | |
| # Angristan's script can be found here: https://github.com/Angristan/openvpn-install | |
| # ©BonvScripts | |
| # For Debian 9/10, Ubuntu 16/18 and CentOS 7 | |
| # This is surely working for Apache 2.4 | |
| # Tested on my Debian 9.11 Singapore VPS | |
| # Textes that starts without # or comments are commands to be run at your terminal | |
| # You must be installed with angristan's script or any script/s that can reproduce .ovpn config in /root directory |
NewerOlder