• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux ModernAAC with Nginx

Herpicus

Web Developer
Joined
Jun 21, 2008
Messages
1,644
Reaction score
94
Location
British Columbia
Hello Fellow members of OtLand!
I have a problem that needs fixing..

I recently decided to try Nginx out since I heard from some very unreliable and reliable sources that it performs much better than Apache (which is what I was using before).

The problem I am having is that Nginx doesn't seem to be rewriting the URLs

Example of working URLs: http://127.0.0.1/ || http://127.0.0.1/index.php || http://127.0.0.1/somethingrandom/index.php || http://127.0.0.1/index.php?=cykotitanpr0n

Example of where Fail is generated:
http://127.0.0.1/index.php/account/create || http://127.0.0.1//index.php/* (anything)

I also heard that if I write a shits in sites-available/whatever
rewrite ^ http://lolol.com$request_uri?;
Something like that would be legit, but I haven't a shits of a clue how to do it since I am new to Nginx!

Operating System: Debian 5 (Meaning no Xampp & Uniserver to the scrubs)

tl;dr
  • Using Nginx
  • Configured PHP and all the etc
  • Need some kind of rewrite for ModernAAC

Please don't post anything useless, kthxbai

Thank you in advanced,
SlurpDerp​
 
Last edited:
Even if I switch to 1.0, it still wouldn't work.
I need some kind of configuration in Nginx first, which is what I'm asking for.
I don't really care if the AAC is buggy or not, I just need to know how to get it to run on Nginx.

Also, I'm using the latest REV
 
Back
Top