Skip to content
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

Cannot download excel sheet in forge server #158

Open
medbadisguesmi opened this issue Feb 21, 2023 · 2 comments
Open

Cannot download excel sheet in forge server #158

medbadisguesmi opened this issue Feb 21, 2023 · 2 comments

Comments

@medbadisguesmi
Copy link

medbadisguesmi commented Feb 21, 2023

i made the changes on appServiceProvider

    if ($this->app->environment('production')) {
        URL::forceScheme('https');
        $this->app['request']->server->set('HTTPS', true);
    }

and still getting forbidden
Screenshot from 2023-02-21 11-13-06

@Loown
Copy link

Loown commented Mar 22, 2023

Same error here, up !

@aaw0
Copy link

aaw0 commented Mar 12, 2024

Try to check for Trusted Proxies, If your application fronted by Load Balancer, make sure to set protected $proxies = "*"; in TrustProxies.php

https://github.com/SpartnerNL/Laravel-Nova-Excel/issues/85#issuecomment-621033997

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants