-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NGINX support #25
Comments
Wow!, very thanks about it. |
I can do a pull request for some changes to make it nginx-compatible. It will probably work with Lighttpd as well with the same pre-condition of rewriting the rewrite-rules to its syntax. I'll do some more testing and report back. |
Very Nice, it will be great. thanks for your help. |
hello there, how install this files please ? |
where do you change the first part, the dependency on Apache to allow nginx? |
yes, what file name to edit? Is there any documentation step-by-step how to install on nginx ? Bests |
FYI,
There is no need for the hard dependency on Apache, it can be made to work with other servers as well. Currently the install does not work due to the use of the Apache-specific 'apache_get_modules()' in 'modRewriteEnabled()' so those who want to use another server should edit that function to make it conditional on the presence of Apache:
Since nginx does not support
.htaccess
files you'll need to rewrite the rewrite-rules to nginx' version of mod_rewrite. The following works for me:Here's an example config for nginx, you'll need to edit it to set the server_name, location of SSL certificates and such. You also might need to edit some security-related headers if you want your site to be usable in iframes.
example_config_for_nginx.txt
The text was updated successfully, but these errors were encountered: