KIM-JINO5 5 luni în urmă
părinte
comite
70e76c397c
2 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 3 3
      .env
  2. 1 1
      app/Http/Middleware/TrustProxies.php

+ 3 - 3
.env

@@ -1,15 +1,15 @@
 APP_NAME=MOVIE
-APP_ENV=production
+APP_ENV=local
 APP_KEY=base64:AUqIa1L0F99tQlxZNeSKS2cr0Fbm6Wfisd4D6y0plC0=
 APP_DEBUG=true
-APP_URL=https://movie.web.or.kr
+APP_URL=https://local-movie.web.or.kr
 
 LOG_CHANNEL=stack
 LOG_DEPRECATIONS_CHANNEL=null
 LOG_LEVEL=debug
 
 DB_CONNECTION=mysql
-DB_HOST=mysql
+DB_HOST=db.web.or.kr
 DB_PORT=3306
 DB_DATABASE=movie
 DB_USERNAME=admin

+ 1 - 1
app/Http/Middleware/TrustProxies.php

@@ -12,7 +12,7 @@ class TrustProxies extends Middleware
      *
      * @var array<int, string>|string|null
      */
-    protected $proxies;
+    protected $proxies = "*";
 
     /**
      * The headers that should be used to detect proxies.