May 19, 20224 yr Hello, I am an intern and I created for the company an application using laravel and vueJs with a mvc model and I would like to deploy it on the unraid server. I followed some tutorials on the internet but nothing works and I'm stuck on it since 2 days. I have changed the .env of my laravel application and I have also updated the default file in the site-confs directory. Voici mon fichier default du répertoire site-confs server { listen 85; server_name 192.168.1.7 root /var/www/my_blog/public; index index.php index.html; location / { try_files $uri $uri/ /index.php?$query_string; } # Rewrite if (!-d $request_filename) { rewrite ^/(.+)/$ / permanent; } charset utf-8; # PHP FPM. location ~* \.php$ { fastcgi_pass unix:/run/php/php7.2-fpm.sock; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(.*)$; include /etc/nginx/fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } # .htaccess. location ~ /\.ht { deny all; } } And here is my .env APP_NAME=My_Blog APP_ENV=development APP_KEY=base64:Pl68JAUAP82yoc/TdrLzfFtS0eXedb78Z9qTPeViRls= APP_DEBUG=true APP_URL=http://192.168.1.7:85 LOG_CHANNEL=stack LOG_DEPRECATIONS_CHANNEL=null LOG_LEVEL=debug DB_CONNECTION=mysql DB_HOST=192.168.1.7 DB_PORT=3306 DB_DATABASE=laravel DB_USERNAME=root DB_PASSWORD= BROADCAST_DRIVER=log CACHE_DRIVER=file FILESYSTEM_DRIVER=local QUEUE_CONNECTION=sync SESSION_DRIVER=file SESSION_LIFETIME=120 MEMCACHED_HOST=192.168.1.7 REDIS_HOST=192.168.1.7 REDIS_PASSWORD=null REDIS_PORT=6379 MAIL_MAILER=smtp MAIL_HOST=mailhog MAIL_PORT=1025 MAIL_USERNAME=null MAIL_PASSWORD=null MAIL_ENCRYPTION=null MAIL_FROM_ADDRESS=null MAIL_FROM_NAME="${APP_NAME}" AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_DEFAULT_REGION=us-east-1 AWS_BUCKET= AWS_USE_PATH_STYLE_ENDPOINT=false PUSHER_APP_ID= PUSHER_APP_KEY= PUSHER_APP_SECRET= PUSHER_APP_CLUSTER=mt1 MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" Nginx is config to 85 on http and 446 on https
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.