File tree 3 files changed +30
-2
lines changed
3 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,7 @@ MAIL_PORT=2525
17
17
MAIL_USERNAME = null
18
18
MAIL_PASSWORD = null
19
19
MAIL_ENCRYPTION = null
20
+
21
+ REDIS_HOST = localhost
22
+ REDiS_KEY =
23
+ REDIS_PORT = 6379
Original file line number Diff line number Diff line change 116
116
'cluster ' => false ,
117
117
118
118
'default ' => [
119
- 'host ' => '127.0.0.1 ' ,
120
- 'port ' => 6379 ,
119
+ 'host ' => env ('REDIS_HOST ' , 'localhost ' ),
120
+ 'password ' => env ('REDIS_KEY ' , '' ),
121
+ 'port ' => env ('REDIS_PORT ' , 6379 ),
121
122
'database ' => 0 ,
122
123
],
123
124
Original file line number Diff line number Diff line change
1
+ <configuration>
2
+ <system.webServer>
3
+ <rewrite>
4
+ <rules>
5
+ <rule name="Imported Rule 1" stopProcessing="true">
6
+ <match url="^(.*)/$" ignoreCase="false" />
7
+ <conditions>
8
+ <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
9
+ </conditions>
10
+ <action type="Redirect" redirectType="Permanent" url="/{R:1}" />
11
+ </rule>
12
+ <rule name="Imported Rule 2" stopProcessing="true">
13
+ <match url="^" ignoreCase="false" />
14
+ <conditions>
15
+ <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
16
+ <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
17
+ </conditions>
18
+ <action type="Rewrite" url="index.php" />
19
+ </rule>
20
+ </rules>
21
+ </rewrite>
22
+ </system.webServer>
23
+ </configuration>
You can’t perform that action at this time.
0 commit comments