Compare commits
No commits in common. "6b1700cf569c199978a8be4cd947d54c3a45192e" and "53bdc30f199a1eb453f09bae6d460a0d34f3e6ff" have entirely different histories.
6b1700cf56
...
53bdc30f19
|
@ -41,10 +41,3 @@ phpunit.phar
|
||||||
/backend/web/index.php
|
/backend/web/index.php
|
||||||
/backend/web/index-test.php
|
/backend/web/index-test.php
|
||||||
/backend/web/robots.txt
|
/backend/web/robots.txt
|
||||||
|
|
||||||
#composer
|
|
||||||
composer.lock
|
|
||||||
|
|
||||||
#docker
|
|
||||||
/docker/logs/nginx
|
|
||||||
/docker/logs/mysql
|
|
||||||
|
|
|
@ -74,9 +74,9 @@ backend: [admin.web.local](http://admin.web.local)
|
||||||
|
|
||||||
Url stage:
|
Url stage:
|
||||||
|
|
||||||
frontend: [dev-php.webeffector.net/](https://dev-php.webeffector.net/)
|
frontend: [example.webeffector.ru](https://example.webeffector.ru)
|
||||||
|
|
||||||
backend: [admin-dev-php.webeffector.net/](https://admin-dev-php.webeffector.net/)
|
backend: [admin-example.webeffector.ru](https://admin-example.webeffector.ru)
|
||||||
|
|
||||||
|
|
||||||
Test data for stage/dev:
|
Test data for stage/dev:
|
||||||
|
|
|
@ -1,11 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use yii\i18n\Formatter;
|
|
||||||
use yii\rbac\DbManager;
|
|
||||||
use yii\caching\FileCache;
|
|
||||||
use yii\caching\DummyCache;
|
|
||||||
use yii\i18n\PhpMessageSource;
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'aliases' => [
|
'aliases' => [
|
||||||
'@bower' => '@vendor/bower-asset',
|
'@bower' => '@vendor/bower-asset',
|
||||||
|
@ -13,46 +6,8 @@ return [
|
||||||
],
|
],
|
||||||
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
|
'vendorPath' => dirname(dirname(__DIR__)) . '/vendor',
|
||||||
'components' => [
|
'components' => [
|
||||||
'formatter' => [
|
|
||||||
'class' => Formatter::class,
|
|
||||||
'defaultTimeZone' => 'Europe/Moscow',
|
|
||||||
'currencyCode' => 'rub',
|
|
||||||
],
|
|
||||||
'cache' => [
|
'cache' => [
|
||||||
'class' => YII_ENV_DEV ? DummyCache::class : FileCache::class,
|
'class' => \yii\caching\FileCache::class,
|
||||||
],
|
|
||||||
'authManager' => [
|
|
||||||
'class' => DbManager::class,
|
|
||||||
],
|
|
||||||
'assetManager' => [
|
|
||||||
// timeStamp css files
|
|
||||||
'appendTimestamp' => YII_ENV_DEV, //true|false
|
|
||||||
],
|
|
||||||
'i18n' => [
|
|
||||||
'translations' => [
|
|
||||||
'app*' => [
|
|
||||||
'class' => PhpMessageSource::class,
|
|
||||||
'basePath' => '@common/messages',
|
|
||||||
'fileMap' => [
|
|
||||||
'app' => 'app.php',
|
|
||||||
'error' => 'error.php',
|
|
||||||
],
|
|
||||||
],
|
|
||||||
'user*' => [
|
|
||||||
'class' => PhpMessageSource::class,
|
|
||||||
'basePath' => '@backend/modules/user/messages',
|
|
||||||
'fileMap' => [
|
|
||||||
'user' => 'user.php',
|
|
||||||
],
|
|
||||||
],
|
|
||||||
'schema*' => [
|
|
||||||
'class' => PhpMessageSource::class,
|
|
||||||
'basePath' => '@frontend/modules/schema/messages',
|
|
||||||
'fileMap' => [
|
|
||||||
'schema' => 'schema.php',
|
|
||||||
],
|
|
||||||
],
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -21,13 +21,6 @@ return [
|
||||||
'class' => \yii\console\controllers\FixtureController::class,
|
'class' => \yii\console\controllers\FixtureController::class,
|
||||||
'namespace' => 'common\fixtures',
|
'namespace' => 'common\fixtures',
|
||||||
],
|
],
|
||||||
'migrate' => [
|
|
||||||
'class' => yii\console\controllers\MigrateController::class,
|
|
||||||
'migrationNamespaces' => [
|
|
||||||
'backend\modules\user\migrations',
|
|
||||||
'backend\modules\schema\migrations',
|
|
||||||
],
|
|
||||||
],
|
|
||||||
],
|
],
|
||||||
'components' => [
|
'components' => [
|
||||||
'log' => [
|
'log' => [
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
192.168.65.1 - - [13/Jun/2024:16:34:40 +0300] "GET / HTTP/1.1" 403 187 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:16:34:40 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:16:49:29 +0300] "GET / HTTP/1.1" 200 1545 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:16:49:29 +0300] "GET /css/site.css HTTP/1.1" 200 1858 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:16:49:29 +0300] "GET /assets/46f1484b/dist/css/bootstrap.css HTTP/1.1" 200 281046 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:16:49:29 +0300] "GET /assets/f5fa1b4e/jquery.js HTTP/1.1" 200 285314 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:16:49:29 +0300] "GET /assets/e5b7c8da/yii.js HTTP/1.1" 200 20981 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:16:49:29 +0300] "GET /assets/46f1484b/dist/js/bootstrap.bundle.js HTTP/1.1" 200 207819 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:17:12:31 +0300] "GET / HTTP/1.1" 200 1545 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:17:12:31 +0300] "GET /assets/f5fa1b4e/jquery.js HTTP/1.1" 304 0 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:17:12:31 +0300] "GET /assets/46f1484b/dist/css/bootstrap.css HTTP/1.1" 304 0 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:17:12:31 +0300] "GET /assets/e5b7c8da/yii.js HTTP/1.1" 304 0 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:17:12:31 +0300] "GET /assets/46f1484b/dist/js/bootstrap.bundle.js HTTP/1.1" 304 0 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:17:15:11 +0300] "GET / HTTP/1.1" 200 1545 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:17:15:11 +0300] "GET /assets/46f1484b/dist/css/bootstrap.css HTTP/1.1" 304 0 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:17:15:11 +0300] "GET /assets/f5fa1b4e/jquery.js HTTP/1.1" 304 0 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:17:15:11 +0300] "GET /assets/e5b7c8da/yii.js HTTP/1.1" 304 0 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
||||||
|
192.168.65.1 - - [13/Jun/2024:17:15:11 +0300] "GET /assets/46f1484b/dist/js/bootstrap.bundle.js HTTP/1.1" 304 0 "http://web.local/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36"
|
|
@ -0,0 +1 @@
|
||||||
|
2024/06/13 16:34:40 [error] 29#29: *1 directory index of "/var/www/frontend/web/" is forbidden, client: 192.168.65.1, server: content.local, request: "GET / HTTP/1.1", host: "web.local"
|
|
@ -48,25 +48,6 @@ return [
|
||||||
'frontend/config/main-local.php',
|
'frontend/config/main-local.php',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'Staging' => [
|
|
||||||
'path' => 'stage',
|
|
||||||
'setWritable' => [
|
|
||||||
'backend/runtime',
|
|
||||||
'backend/web/assets',
|
|
||||||
'console/runtime',
|
|
||||||
'frontend/runtime',
|
|
||||||
'frontend/web/assets',
|
|
||||||
],
|
|
||||||
'setExecutable' => [
|
|
||||||
'yii',
|
|
||||||
'yii_test',
|
|
||||||
],
|
|
||||||
'setCookieValidationKey' => [
|
|
||||||
'backend/config/main-local.php',
|
|
||||||
'common/config/codeception-local.php',
|
|
||||||
'frontend/config/main-local.php',
|
|
||||||
],
|
|
||||||
],
|
|
||||||
'Production' => [
|
'Production' => [
|
||||||
'path' => 'prod',
|
'path' => 'prod',
|
||||||
'setWritable' => [
|
'setWritable' => [
|
||||||
|
|
Loading…
Reference in New Issue