Do you have an
idea or suggestion?

Share a feature, ideas or suggestions to the community. Review the requests and vote.

Create a Request

NginX Template

Under Consideration Kholifa Network 31/05/2022 - 18:40

Their are not Documents for Setup NginX rewrite Template... please make a Template for NginX Server.

Comments (4)

Write a Comment
Christian Krenn Developer

05/06/2022 - 11:59

Hi,
you could just use a "htaccess to nginx converter"

It's not an official config then, but better than nothing.

Reply
Kholifa Network

06/06/2022 - 00:29

I've already converted but page breaking, and menu not working... - - https://dev.kholifa.com/

Reply
Christian Krenn Developer

07/06/2022 - 13:46

Hi,

hard to tell what's wrong with your config without knowing your config.

But I would assume you need to add the following

location / {
if (!-e $request_filename){
rewrite ^/([0-9a-zA-Z-_/.]+)$ /index.php?route=$1 break;
}
}

Reply
Kholifa Network

07/06/2022 - 13:48

i've used hestiaCP with nginX+php-FPM

Reply

Do you have any questions?

Feel free to contact us
Contact Us
Copyright © 2022. All Rights Reserved.
Join Our Discord Channel
Top