Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hello everyone, I am trying to create a UDID protected Cydia Repo but I cannot use it on nginx because of nginx does not use the .htaccess file. The file certain rewrite rules to make it run. Here are a copy of the Repo: Below is a copy of the .htaccess file.

RewriteEngine On

RewriteBase /your_repo_folder/
RewriteRule ^(Release)$ release.php
RewriteRule ^(Packages.*)$ package.php
share|improve this question
Read documentation for nginx Rewrite Module – AlexD Oct 21 '12 at 10:17

Nginx don't have any plugin for Htaccess, but it has very nice language (like Perl) for config. Try this

location ~* ^/your_repo_folder/ {
rewrite ^(Release)$ release.php permanent;
rewrite ^(Packages.*)$ package.php permanent;
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.