-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 Not Found #4481
Comments
I'm afraid I'm not familiar with hosting Laravel apps on Azure, but a quick Google search might help here. If you manage to get this working, I'd love to get the documentation updated too, if you could contribute that? |
Yes so I solved it. It was kinda nerve wracking but finally I got it working. So for an Azure docu. you need to change/add this: bootstrap/app.php use Illuminate\Http\Request; // Korrekte Klasse importieren ->withMiddleware(function (Middleware $middleware) {
}) config/database.php 'options' => extension_loaded('pdo_mysql') ? [ and download the certificate for ssl (the link is from microsoft): from your stackoverflow you need to do this: Now edit the /home/site/default file and update as described in laravel documentation Server Configuration settings change to root to: and location / { custom startup script You will now need to create a custom startup script and save the file as /home/site/startupscriptbymoon.sh Add following commands in above file cp /home/site/default /etc/nginx/sites-available/default Now navigate back to your App Service via the Azure Portal. Under the Settings section, select Configuration and then General Settings. In Startup Command text box enter the following: /home/site/startupscriptbymoon.sh I think thats all, hope it helps. Also Thank you so much for that stackoverflow page. |
@jbrooksuk problem is solved |
I installed cachet in Azure on a Web App with Mysql db. when i access my link.com/cachet/public i get to the status page, when I click on dashboard it takes me to link.com/dashboard 404 Not found. If I copy the public to my wwwroot ad access link.com/public and then dashboard its the same thing.
Could someone help me please with that? Thanks
The text was updated successfully, but these errors were encountered: