Replies: 7 comments 1 reply
-
Thanks a lot! Will add it to the site documentation 👍 |
Beta Was this translation helpful? Give feedback.
-
@bet0x does this part prevent the root location ~ \.php$ {
fastcgi_intercept_errors on;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass unix:/run/php-fpm/www.sock;
} The root |
Beta Was this translation helpful? Give feedback.
-
Doesn't prevent access at all. It just works. I will apply a few fixes on other paths later but so far everything runs smoothly. |
Beta Was this translation helpful? Give feedback.
-
Okay, I will move this issue to the discussion later, so I can properly reference it. Discussions will also allow for more user inputs. |
Beta Was this translation helpful? Give feedback.
-
Here’s another alternative but quite complex: https://github.com/orgs/mecha-cms/discussions/108 |
Beta Was this translation helpful? Give feedback.
-
Hi @bet0x @taufik-nurrohman , what about the output image that is resized? My website, there is a problem with the image resizing output. Resized images produce a 404 error status |
Beta Was this translation helpful? Give feedback.
-
https://gist.github.com/taufik-nurrohman/1da313a2db48a26d836d781258b6c139 |
Beta Was this translation helpful? Give feedback.
-
Make sure that your issue is reproducible by doing the following tasks
TEST
constant value totrue
in the.\index.php
file.error
orerror-x
orerror-y
in the.\engine\log
folder.What installation method did you use?
Composer
Describe your issue in the field below
Hello all,
I didn't found the documentation on git to place a PR but here it is the code block for Nginx to get it working and secured too:
Package version
Development version (package on the
main
branch)Package version number
3.0.0
What browsers are you seeing the problem on?
Firefox
Error logs of the core application if any
No response
Error log of the extension if any
No response
Error log of the layout if any
No response
General error logs if any (if the application fails to set a custom error log path, then the error log will usually appear in this location)
No response
Beta Was this translation helpful? Give feedback.
All reactions