Surjo
October 1, 2021, 8:52am
1
Hello, Please Help me to add BoxBilling nginX config
Here is code :
location ~ bb-admin.php {
if (!-e $request_filename) {
rewrite ^(.+)$ /bb-admin.php?$1 last;
}
}
location / {
if (!-e $request_filename) {
rewrite ^(.+)$ /index.php?$1 last;
}
}
i’ve try to add this code, but when active new template my nginX was Down… after remove this nginX running again, please help me to add this code on nginX template…
eris
October 1, 2021, 12:12pm
2
You need the full template:
And only add
location ~ bb-admin.php {
if (!-e $request_filename) {
rewrite ^(.+)$ /bb-admin.php?$1 last;
}
}
location / {
if (!-e $request_filename) {
rewrite ^(.+)$ /index.php?$1 last;
}
}
And only add the missing information
1 Like
Surjo
October 2, 2021, 12:00pm
3
Which place to add those lines??
i’ve added before ::
location / {
location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
expires max;..........................
but not working…
system
Closed
November 1, 2021, 12:00pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.