I am getting following error while configuring office365 mail on contact us form in laravel 7. please anyone can

Swift_TransportException (554) Expected response code 250 but got code “554”, with message “554 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 0.35250:0A004D89, 1.36674:0A000000, 1.61250:00000000, 1.45378:02000000, 1.44866:5C1D0000, 1.36674:0E000000, 1.61250:00000000, 1.45378:611D0000, 1.44866:00020000, 16.55847:830F0000, 17.43559:0000000024020000000000000000000000000000, 20.52176:140FE58B1600103100000000, 20.50032:140FE58B7E17000000000000, 0.35180:140FE58B, 255.23226:0A004F89, 255.27962:0A000000, 255.27962:0E000000, 255.31418:0A005089, 0.35250:1F001432, 1.36674:32000000, 1.61250:00000000, 1.45378:02000000, 1.44866:01000000, 16.55847:69000000, 17.43559:0000000038030000000000000100000000000000, 20.52176:140FE58B16000000A1220000, … Read more

Adjust server configuration [PHP, Laravel, mysql, nginx] for serve great number of user [duplicate]

This question already has answers here: How do you do load testing and capacity planning for databases? (2 answers) Closed 10 months ago. I have a Laravel PHP webapp that shows analytics data in Angular frontend to users. User can only show content, plots and tables. I have written 3 laravel commands that hourly download … Read more

Nginx: proxy_pass path of domain to different web server

We plan to upgrade our web application from php native based application to PHP Framework based (Laravel) to enhance application security and performance. My task is to split traffic where every request pointed to domain app.localhost without postfix /v3 still forwarded to old application on php-native web server node, and proxy all request with /v3 … Read more

VPS server issue: *1 connect() failed (111 connection refused) while connecting to upstream nginx

For some reason, I am unable to get my website working. I have followed all the steps from DevMarketer Laravel website deployment, but I am getting the following error: 502 Bad Gateway nginx/1.16.1 (Ubuntu) I am aware there is a problem with the configuration of Nginx, but after seeing many answers from similar problems, I … Read more

Forcing HTTPS with .htaccess causes redirect loop in Laravel

I’m using Laravel 6.16 for a web-app. I’ve got a SSL certificate set up for the domain and I now need to force all request to use HTTPS protocol. The default .htaccess file has the following <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* … Read more

NGINX Proxy_Pass to websocket server on a Plesk Server

I am trying to get a websocket client connected to my server with a ssl connection. I want to reach it with www.myurl.com/socket/ (subdomains would also be an option) and the websocket server is running on port 7777. As the server is running Plesk I need to do the configuration in the Plesk Interface. What … Read more

redirecting from an alias url to main url with nginx

I have a site running on Laravel Forge that has a primary domain of example.org and then an alias of myolddomain.com This means that content is available at both. I’d like to make it that if someone visits myolddomain.com/whatever that they are taken to example.org/whatever I’ve tried adding rewrite rules but end up with redirect … Read more

Nginx, Wordpres & Laravel

I am trying to configure WordPress and Laravel within Nginx, but am struggling to get the configuration right. WordPress is installed in /var/www/site/blog Laravel is installed in /var/www/site/exam Navigating the the site.local brings up the wordpress site, but site.local/laravel shows “No input file specified.” Looking in the error logs: Unable to open the primary script: … Read more

Laravel events behind load balancer – how to make the event visible to all the servers in the autoscale group

I have an application running Laravel 6.1. There are clients which connect to it via laravel websockets and listen for events. I have an external service which sends post requests to this server which will then raise an event, and the websocket clients see it. I am in the dev stage, and it’s not been … Read more