-
Notifications
You must be signed in to change notification settings - Fork 47
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
MIME error on nginx behind reverse proxy #1029
Comments
Please read this thread: #869
|
Köszi sépen / Thank you for the good idea. the smylink is there:
The syslink works as I can cd into it: /{root}/public/flux$ ll
drwxrwxr-x 2 root www-data 4096 Jan 14 21:27 ./
drwxrwxr-x 6 root www-data 4096 Jan 14 21:27 ../
-rwxrwxr-x 1 root www-data 3956 Jan 14 21:27 editor.css*
-rwxrwxr-x 1 root www-data 725105 Jan 14 21:27 editor.js*
-rwxrwxr-x 1 root www-data 325952 Jan 14 21:27 editor.min.js*
-rwxrwxr-x 1 root www-data 684960 Jan 14 21:27 editor.module.js*
-rwxrwxr-x 1 root www-data 24120 Jan 14 21:27 flux.css*
-rwxrwxr-x 1 root www-data 225348 Jan 14 21:27 flux.js*
-rwxrwxr-x 1 root www-data 108173 Jan 14 21:27 flux.min.js*
-rwxrwxr-x 1 root www-data 212709 Jan 14 21:27 flux.module.js*
-rwxrwxr-x 1 root www-data 112 Jan 14 21:27 manifest.json* Sadly, it did not solve the issue. It still renders the homepage if I try to open https://ungarische-kolonie-berlin.org/flux/flux.css I will try to dig deeper into it. Thanks again :D |
@daniel-koertvelyessy (Szívesen) In the Nginx settings, I had to correct the use of the http2 protocol, the use of TLSv1.2 and TLSv1.3, and I also had to regenerate the SSL certificate for the main services of the server with a 4096 byte key. And as I corrected the Nginx settings, the MIME-type problem disappeared after one Nginx restart. The problem is clearly an Nginx configuration error, but the solution may depend on several other things. So you just have to go through all the Nginx settings that can override the desired setting. And of course, don't forget to clear the caches (view, config, and route). |
@daniel-koertvelyessy thanks for reporting! This isn't an issue with Flux directly, but more an issue with your Nginx setup. I have tested deploying Flux with Forge and CloudPanel and each of them have different Nginx configs that sometimes require changing, so it's hard to come up with a one size fits all answer. Can you share your Nginx configs for your server and if your proxy is using Nginx, can you share that too? |
Flux version
v1.1.3
Livewire version
v3.5.18
What is the problem?
Hey there, it is me again :(
Server public location is https://ungarische-kolonie-berlin.org
I managed to close my last issue #1022 Thanks to @jeffchown
Now I wanted to login and got a 419 page expired error. My initial idea was an error in the .env file. However, inspecting the development window, I saw 3 errors:
I added the nginx configuration as proposed in the documentation
Following issue #50 I added two other directives from @mauritskorse configuration
Still, the errors remain.
As always, ideas hints are more than welcomed
Best wishes,
Daniel
Code snippets
What is interesting is, that the path
{root}/public/flux/
does not exist on the server. Neither on the development nor the production one.So I went through the installation process again. But still with no change.
How do you expect it to work?
Rendered header section:
if I curl the flus.css file, I get the following return:
Why is the header section
listed twice?
Please confirm (incomplete submissions will not be addressed)
The text was updated successfully, but these errors were encountered: