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

Serving SPFtoolbox over HTTPS with Reverse proxy (Traefik, NPM) #64

Open
jaska087 opened this issue Jul 21, 2023 · 0 comments
Open

Serving SPFtoolbox over HTTPS with Reverse proxy (Traefik, NPM) #64

jaska087 opened this issue Jul 21, 2023 · 0 comments

Comments

@jaska087
Copy link

jaska087 commented Jul 21, 2023

Hi.

Just a weird issue. Serving SPFtoolbox over HTTPS reverse proxy it will give me silent errors, site keeps loading (error code 301)

Works fine over HTTP reverse proxy.

Any ideas? is something hardcoded so it will try to open every query in http instead of https?

HTTPS
[21/Jul/2023:15:40:43 +0000] - 301 301 - GET https spf.jaska.cc "/operations?domain=jaska.cc&request=a&port=" [Client 192.168.10.100] [Length 357] [Gzip -] [Sent-to 192.168.10.20] "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" "https://spf.jaska.cc/"

HTTP
[21/Jul/2023:15:41:27 +0000] - 200 200 - GET http spf.jaska.cc "/operations/?domain=jaska.cc&request=a&port=" [Client 192.168.10.100] [Length 139] [Gzip -] [Sent-to 192.168.10.20] "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" "http://spf.jaska.cc/"

E: Nevermind I just had to add header to upgrade the http requests
Content-Security-Policy: upgrade-insecure-requests;

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

1 participant