YANZ UPLOAD ANJG

# ProjectSend configuration. # # Copy this file to `.env` and edit it. INSTALL.md walks through every # value here; the short version is that you must set APP_URL and the four # DB_ lines, then run `php artisan key:generate`. APP_NAME="[[site_name]]" APP_ENV=production APP_KEY=base64:[[app_key]] APP_DEBUG=false APP_URL=[[softurl]] APP_TIMEZONE=UTC APP_LOCALE=en APP_FALLBACK_LOCALE=en # Which edition this installation runs as. Leave as "community" unless you # are running the hosted platform. PROJECTSEND_EDITION=community # How downloads leave the server. Left unset (or "auto"), ProjectSend hands # files to nginx when it is running behind nginx, and streams them through # PHP on anything else -- which works everywhere but holds a PHP worker for # the whole of each download. Set "xsendfile" for Apache with mod_xsendfile # (or LiteSpeed) once XSendFilePath allows storage/app/files, "nginx" when # an nginx proxy in front is the one serving /protected-files/, or "php" to # stream deliberately. The dashboard's System panel shows which is in use. # PROJECTSEND_FILE_DELIVERY=auto # --- Database ------------------------------------------------------------- # Create the database and user first; ProjectSend creates its own tables # when you run `php artisan migrate`. DB_CONNECTION=mysql DB_HOST=[[softdbhost]] DB_PORT=3306 DB_DATABASE=[[softdb]] DB_USERNAME=[[softdbuser]] DB_PASSWORD=[[softdbpass]] # --- Sessions, cache and background jobs ---------------------------------- # The database needs no extra software and is fine for most installs. If # you have Redis, switch all three to "redis" and fill in the REDIS_ lines # below — it is faster under load. SESSION_DRIVER=database SESSION_LIFETIME=120 CACHE_STORE=database QUEUE_CONNECTION=database # REDIS_HOST=127.0.0.1 # REDIS_PORT=6379 # REDIS_PASSWORD=null # --- File storage --------------------------------------------------------- # Uploads are kept in storage/app/files/ on this server. To store them in # S3-compatible object storage instead, leave this alone and configure it # from System → Settings → Storage once you are logged in. FILESYSTEM_DISK=local # --- Email ---------------------------------------------------------------- # These are only used until you fill in System → Settings → Email, which is # the recommended place to configure mail (it has a "send test" button). MAIL_MAILER=smtp MAIL_HOST=127.0.0.1 MAIL_PORT=25 MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS="files@example.com" MAIL_FROM_NAME="${APP_NAME}" # --- Serving over HTTPS --------------------------------------------------- # Uncomment when your site is served over HTTPS (it should be). # SESSION_SECURE_COOKIE=true # --- Behind a proxy, load balancer or CDN --------------------------------- # Required whenever anything sits between your visitors and this server — # Cloudflare, an ALB, another nginx. Without it every visitor appears to # come from the proxy: the login rate limiter treats all of your users as # one attacker, and the download log records the proxy's address instead of # the person who downloaded the file. # # Comma-separated addresses/CIDRs, or "*" to trust any proxy (only safe # when nothing but the proxy can reach this server). # # NOTE: do not run `php artisan config:cache` — it stops .env from being # read and silently disables this setting. See INSTALL.md. # TRUSTED_PROXIES= # --- Logging -------------------------------------------------------------- # "daily" writes storage/logs/laravel-YYYY-MM-DD.log and deletes anything # older than LOG_DAILY_DAYS, so the log cannot quietly fill the disk on an # install nobody is watching. "single" puts everything in one unbounded # laravel.log instead, which then needs logrotate. LOG_CHANNEL=stack LOG_STACK=daily LOG_DAILY_DAYS=14 LOG_LEVEL=warning