Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
Nginx config
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / Torrent Trader / v3 Support

2023-01-13 21:55:35
Hi there,  Can someone kindly share nginx config, i'm trying to install for someone but not sure how to redo the rules for nginx thanks
2023-01-14 00:31:22
Are you trying to convert Apache rules to be NGINX rules?
2023-01-14 11:23:38
Yes based on the default install, if someone could share be amazing thanks
2023-01-18 00:38:49
 root /my/data/domain.com/public_html;
if (!-e $request_filename) {
   rewrite ^/(.*)$ /index.php?url=$1;
 }


Adding this after root worked for me under nginx with everything working.

2023-01-18 01:57:19
That certainly looks correct. I feel the NGINX map module is a better approach to this, but I have no idea.

rewrite ^/([^/]*)$ /index.php?url=$1 last;


Can you use the 'last' flag? Also, that regex should handle all cases.
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 2
  • Members: 0
  • Guests online: 2
  • Comments: 3
  • Messages: 1,728