全部需求
考虑中 General

NginX Template

Faruk Hossain M. 8 条评论

需求

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

为此需求投票 帮助产品团队了解有多少客户需要此功能。

讨论

Ertuğrul T.

Hi, Worker Config: https://gist.github.com/ertugrulturan/5216d83d21cd09547286f909d80e3127 The necessary configurations have been made on the config and it works without errors with this nginx config on the cloudpanel.

2 人认为此评论有帮助

Faruk Hossain M.

I've try but Not Working on VestaCP + HestiaCP... :( :( :(

0 人认为此评论有帮助

Christian K.

Hi, you could just use a "htaccess to nginx converter" It's not an official config then, but better than nothing.

0 人认为此评论有帮助

Faruk Hossain M.

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

0 人认为此评论有帮助

Christian K.

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; } }

0 人认为此评论有帮助

Faruk Hossain M.

i've used hestiaCP with nginX+php-FPM

0 人认为此评论有帮助

Leon G.

We are using this for the nginx config and it works: location / { if (!-e $request_filename){ rewrite ^/([0-9a-zA-Z-_/.]+)$ /index.php?route=$1 last; } }

0 人认为此评论有帮助

Faruk Hossain M.

I've used vestaCP, this template not working...

0 人认为此评论有帮助

暂无评论

成为第一个为此需求补充背景信息的人。