Question Problems with Joomla and my domains on Plesk Obsidian on Ubuntu 22.04

Mlieder

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
18.0.56 Update #3
News about the error:

I have problems with the .js files, these cannot be used with various modules e.g. JCE Editor (Joomla).

If the files open like https://tramperhaus.de/media/com_jce/editor/tinymce/plugins/browser/plugin.js
it opens the file... OK
If the files open like https://artem24.eu/media/com_jce/editor/tinymce/plugins/browser/plugin.js
always get a 502 bad gateway error.

Is something missing in my installation, or what do I have to do to make the modules work?
All domains are on the same web server
 
We have the very same Issue here!
no solution BUT i noticed a very peculiar behavior.
All is working well as long as the folder is NOT called "browser"
e.g.
https://brightonconsultingrooms.co.uk/plugins/editors/jce/tiny_mce/plugins/auge/nariz/nase.txt ist ok

https://brightonconsultingrooms.co.uk/plugins/editors/jce/tiny_mce/plugins/auge/browser/nase.txt is 502

this goes for all websites on the server even for pure HTML websites - is there a Directory with the name "browser" it fails.

this maybe hints someone to the right direction to solve the problem - i did not fix it yet
 
the solution is here!

location ~ ^/components/com_jce/editor/tiny_mce/plugins/browser/ {
try_files $uri $uri/ =404;
}
location = /components/com_jce/editor/tiny_mce/plugins/browser/js/browser.js {
try_files $uri =404;
}
location = /components/com_jce/editor/tiny_mce/plugins/browser/editor_plugin.js {
try_files $uri =404;
}
location ~ ^/components/com_jce/editor/tiny_mce/ {
try_files $uri $uri/ =404;
}
location = /components/com_jce/editor/tiny_mce/tiny_mce.js {
try_files $uri =404;
}

thanks to verything.net for working that one out!
 
Back
Top