⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.101
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Server Software:
Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.25
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
taxi.dev-unit.com
/
config
/
View File Name :
webserver.php
<?php /* * This file is part of the hyn/multi-tenant package. * * (c) Daniƫl Klabbers <daniel@klabbers.email> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @see https://tenancy.dev * @see https://github.com/hyn/multi-tenant */ return [ /** * Apache2 is one of the most widely adopted webserver packages available. * * @see http://httpd.apache.org/docs/ * @see https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu */ 'apache2' => [ /** * Whether the integration with Apache2 is currently active. */ 'enabled' => false, /** * Define the ports of your Apache service. */ 'ports' => [ /** * HTTP, non-SSL port. * * @default 80 */ 'http' => 80, /** * HTTPS, SSL port. * * @default 443 */ 'https' => 443 ], /** * The generator taking care of hooking into the Apache services and files. */ 'generator' => \Hyn\Tenancy\Generators\Webserver\Vhost\ApacheGenerator::class, /** * The view that holds the vhost configuration template. */ 'view' => 'tenancy.generators::webserver.apache.vhost', /** * Specify the disk you configured in the filesystems.php file where to store * the tenant vhost configuration files. * * @info If not set, will revert to the default filesystem. */ 'disk' => null, 'paths' => [ /** * Location where vhost configuration files can be found. */ 'vhost-files' => [ '/etc/apache2/sites-enabled/' ], /** * Actions to run to work with the Apache2 service. */ 'actions' => [ /** * Action that asserts Apache2 is installed. */ 'exists' => '/etc/init.d/apache2', /** * Action to run to test the apache configuration. * * @set to a boolean to force the response of the test command. * @info true succeeds, false fails */ 'test-config' => 'apache2ctl -t', /** * Action to run to reload the apache service. * * @info set to null to disable reloading. */ 'reload' => 'apache2ctl graceful' ] ] ], /** * Nginx webserver support. * * @see http://nginx.org */ 'nginx' => [ /** * Whether the integration with nginx is currently active. */ 'enabled' => false, /** * The php sock to be used. */ 'php-sock' => 'unix:/var/run/php/php7.3-fpm.sock', /** * Define the ports of your nginx service. */ 'ports' => [ /** * HTTP, non-SSL port. * * @default 80 */ 'http' => 80, /** * HTTPS, SSL port. * * @default 443 */ 'https' => 443 ], /** * The generator taking care of hooking into the nginx services and files. */ 'generator' => \Hyn\Tenancy\Generators\Webserver\Vhost\NginxGenerator::class, /** * The view that holds the vhost configuration template. */ 'view' => 'tenancy.generators::webserver.nginx.vhost', /** * Specify the disk you configured in the filesystems.php file where to store * the tenant vhost configuration files. * * @info If not set, will revert to the default filesystem. */ 'disk' => null, 'paths' => [ /** * Location where vhost configuration files can be found. */ 'vhost-files' => [ '/etc/nginx/sites-enabled/' ], /** * Actions to run to work with the Nginx service. */ 'actions' => [ /** * Action that asserts nginx is installed. */ 'exists' => '/etc/init.d/nginx', /** * Action to run to test the nginx configuration. * * @info set to a boolean to force the response of the test command. * true succeeds, false fails */ 'test-config' => '/etc/init.d/nginx configtest', /** * Action to run to reload the nginx service. * * @info set to null to disable reloading. */ 'reload' => '/etc/init.d/nginx reload' ] ] ] ];