-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Pre-Flight: Uh oh! Snipe-IT thinks your URL is https:// #10779
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
For the zeroth issue: you should never have to run For the first issue, I would set your For the second one, I would take a look and try to see if your |
All of that was the solution (for everything) thank you! |
…n_preflight Fixed #10779: Add Reverse Proxy support to Pre-Flight URL check
Debug mode
Describe the bug
Prelim Issue:
First Issue:
Uh oh! Snipe-IT thinks your URL is https://snipe-it.customdomain.com, but your real URL is http://snipe-it.customdomain.com/setup Please update your APP_URL settings in your .env file
Second Issue:
We cannot determine if your config file is exposed to the outside world, so you will have to manually verify this. You don't ever want anyone able to see that file. Ever. Ever ever. An exposed .env file can disclose sensitive data about your system and database.
Setup:
Public Request (http / https) -> Public facing HAProxy Reverse Proxy (holds letsencrypt certs for multiple services: Snipe-It, Nextcloud, plex, etc.) -> Passes via 80 -> Snipe-It via Apache 2 listens on 80
Apache2 setup:
Reproduction steps
...
Expected behavior
I expect Pre-flight to pass without issue
Screenshots
No response
Snipe-IT Version
5.4.1
Operating System
Ubuntu 20.04
Web Server
Apache2
PHP Version
7.4.3
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: