ispCP - Board - Support
nginx module - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: nginx module (/thread-12046.html)

Pages: 1 2


RE: nginx module - DragonZX - 11-05-2010 06:16 PM

thanks Now we need perfect english and german translation


RE: nginx module - kassah - 11-06-2010 02:59 AM

I can clean up an existing translation, but I don't know Russian. Sorry.


RE: nginx module - DragonZX - 11-06-2010 04:57 AM

Ok, I will translate ot tomorrow. Clean up readme please. it's ready (a few posts ago)


RE: nginx module - kassah - 11-06-2010 05:18 AM

"Èíñòðóêöèÿ ïî óñòàíîâêå ìîäóëÿ èíòåãðàöèè nginx è õîñòèíã-ïàíåëè ispCP (Ðóññêèé ÿçûê)"
"Îáùèå ñâåäåíèÿ:"
"Ëèìèòû óñòàíîâëåíû íà "/" è ".php", êîòîðûå ïåðåãðóæàþò Apache."

have translations for those?
This is the best I could come up with, I had trouble understanding the overall instructions. Are they instructions or just describing what the program does?

Code:
***************************************************************************
***************************************************************************
***    Module Development - koffu                    ***
***    Instruction - Enkil                        ***
***    Adaptation - DragonZX                        ***
***    Module version - 0.7.1                        ***
***    Successfully tested on (during writing this manual) -         ***
***                                    ***
***    ispCP 1.0.7 OMEGA                        ***
***    build: 20100819                            ***
***    Operation system: Ubuntu Server 10.4 LTS            ***
***************************************************************************
***************************************************************************

Setup:
ispcp2nginx module automatically creates configuration files for front-end web-server nginx.

In order to have ngnix work without panel configuration, we put ngnix on port 81, leaving apache on the default port 80. In order to redirect traffic to ngnix, we add a redirect to iptables.

# This is tuned for my site configration, which has been DDOS-d. Feel free to change strings 70-71
# For FreeBSD and Linux, change kqueue to epoll

You must install mod-rpaf so that when Apache takes queues from 127.0.0.1 they will have nginx HOST header for proper access.log logging of source. Traffic from nginx is not counted by the panel.

At creation, the configuration script fills the gaps in vhosts.conf with information from the pre-loaded configuration files. Keep in mind that configiration files will not be generated from empty files, but instead copied from vhosts.conf, only then will configuration files be generated. If the file is empty, it will not generate a configuration.

################################################################################​###################

Module use this files and folders:

/conf.d - preloaded configuration files directory (domains/subdomains/domain aliases)
ispcp-nginx.pl - executable file
ispcp-nginx.conf - configuration file
readme_en.txt - read this file first.
conf-structure_en.txt - ispcp-nginx.conf manual
installation_en - installation instructions

################################################################################​###################

By "pre-loaded" do you mean "template" files?


RE: nginx module - DragonZX - 11-06-2010 06:25 AM

It's only description of a structure

Translation of strings
Installaton Manial nginx integration module for ispCP (English language)
main information:
"/" и ".php", are limited, because they are owerweight Apache.

and yes


RE: nginx module - DragonZX - 11-06-2010 09:53 PM

First english translation has been done


RE: nginx module - DragonZX - 11-09-2010 07:18 AM

Please, fix my translation.


RE: nginx module - kassah - 11-09-2010 07:37 AM

Sorry.. work is keeping me busy this week. I have not forgotten. I will get to it as soon as possible.

A quick run through shows an untranslated string:
installation_en.txt:
# iptables -t nat -A PREROUTING ! -s 127.0.0.1 -d âàø_ip_íà_êîòðîì_ñëóøàåò_àïà÷ -p tcp --dport 80 -j REDIRECT --to-ports 81

please provide a translated -d argument.


RE: nginx module - DragonZX - 11-09-2010 04:18 PM

* your_ip_that_apache_is_listening