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

Use relative URLs instead of absolute URLs #711

Closed
1 of 2 tasks
tariqjamal057 opened this issue Feb 12, 2024 · 3 comments
Closed
1 of 2 tasks

Use relative URLs instead of absolute URLs #711

tariqjamal057 opened this issue Feb 12, 2024 · 3 comments

Comments

@tariqjamal057
Copy link

tariqjamal057 commented Feb 12, 2024

Checklist

  • The bug is reproducible against the latest release or master.
  • There are no similar issues or pull requests to fix it yet.

Describe the bug

@aminalaee, I had configured the package with application correctly in http it working file but in production it showing the below error

Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure stylesheet ''. This request has been blocked; the content must be served over HTTPS.

Steps to reproduce the bug

No response

Expected behavior

No response

Actual behavior

No response

Debugging material

No response

Environment

Production

Additional context

No response

@aminalaee
Copy link
Owner

Please check the docs https://aminalaee.dev/sqladmin/cookbook/deployment_with_https/ and there were multiple discussions around this.

@pinheiro-bruno
Copy link

pinheiro-bruno commented Feb 20, 2024

@aminalaee, don't you think the current solution of forwarding the headers is a bit dangerous, since the original request, specially the authentication form, uses http?

I would rather have a way to make sure that all requests leave the browser as https

@aminalaee
Copy link
Owner

I'm not sure enforcing the HTTPS is going to be nice for some use-cases. Obviously if you are deploying on a production env you need to take care of that.

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