Hi, i´m using plesk obsidian with litespeed webserver.
I switched to cloudflare nameserver, but after activating cloudflare proxy instead of my website i just see plesk default page.
When i disable proxy of cloudflare its working again.
Any ideas?
just checked logs and saw this:
2023-05-23 18:24:11.691487 [INFO] [28022] [T0] [141.101.76.166:58996#APVH_greenstein.design] File not found [/var/www/vhosts/default/htdocs/assets/static/mdz-logo.6d7e5a9.1e92ad05ceea152cf4d146ea17908f3d.webp]
2023-05-23 18:24:11.695133 [INFO] [28022] [T0] [141.101.77.14:30860#APVH_greenstein.design] File not found [/var/www/vhosts/default/htdocs/assets/static/greenstein-logo-font.4f46be4.53fdeb5b54edf0db332a9ca66540ddc4.svg]
2023-05-23 18:27:47.702690 [INFO] [28021] [T0] [162.158.79.223:52758#APVH_greenstein.design] File not found [/var/www/vhosts/default/htdocs/webdesign-hannover/]
it seems after using proxy mode litespeed delivers different directory (/var/www/vhosts/default/htdocs/ instead of /var/www/vhosts/greenstein.design/greenstein-2023/) but i don´t know why
There used to be an issue that a domain was occasionally stuck with another provider, but that should be fixed and I don’t think this is the issue here.
Do you have any Workers in place? Any rules set up on Cloudflare? Verify that your server configuration does not handle requests from the proxies differently.
No, its clean cloudflare account without any customizations. I´m not sure how i can tell litespeed to handle it like internal traffic, or what do you mean?
Yes, exactly. Its the output of my server. I created testfile in /var/www/vhosts/default/htdocs named test_cloudflare. its available:
signatur. greenst ein.design /test_cloudflare
this domain is still proxied by cloudflare, so i can also confirm that its loading wrong directory.
In that case it won’t be said stuck configuration, as that wouldn’t reach your server.
The whole thing is a bit weird and unusual, but at this point my best educated guess is that your server is filtering for Cloudflare proxy addresses and then possibly rewrites the host header. I can’t say that for sure of course, but given the available information I’d would recommend to take a good look at the server configuration, especially anything on security.
Your server does a 301 redirect from http://greenstein.design/ to https://greenstein.design/, so it wouldn’t be working on Flexible, as flexible always connects to your server using http. But it is curious that instead of a redirect loop, you webserver displayed the default page.