Hello, Im using FreeBSD and jail. I have main nginx server in jail (ip 192.168.1.2). Second www server is apache22 (192.168.1.3). Port 80 from 192.168.1.2 is forwarding to public IP. Problem is in this that php scripts from apache (192.168.1.3) showing client IP from nginx (192.168.1.2). For example: phpBB showing on line users and ips 192.168.1.2. Its my settings in nginx (192.168.1.2):by dong - Nginx Mailing List - English
Which I should use? Memcache from nginx or memcache from pecl? Maybe both? What benefits have using memcache via nginx opposite do memcache via php?by dong - Nginx Mailing List - English
Anybody have other idea? :)by dong - Nginx Mailing List - English
I cant install postfix in jail... its problem :)by dong - Nginx Mailing List - English
Im using FreeBSD and jails. I have my postfix on host, and main http server in jail. When I set in jail (192.168.1.2): server { <------>listen 80; <------>server_name www.poczta.a.org poczta.a.org; <------>access_log /var/log/nginx/poczta.a.org-access.log; <------>location / { <------><------> proxy_pass http://188.212.129.X; <------><by dong - Nginx Mailing List - English
But I dont know how...by dong - Nginx Mailing List - English
mow its not working on my rules. this script only change RewriteRule to rewrite. nothing else.by dong - Nginx Mailing List - English
Anybody can help? Please...by dong - Nginx Mailing List - English
Anybody help?by dong - Nginx Mailing List - English
Okay... rewrite ^/cat([0-9]*)\.htm$ index.php?c=$1; rewrite ^/(forum|.*-vf)([0-9]+)-([0-9]+),([0-9]+)\.htm$ viewforum.php?f=$2&topicdays=$3&start=$4; rewrite ^/(forum|.*-vf)([0-9]+),([0-9]+)\.htm$ viewforum.php?f=$2&start=$3; rewrite ^/(forum|.*-vf)([0-9]+)\.htm$ viewforum.php?f=$2; rewrite ^/prev_topic/([0-9]+)\.htm$ viewtopic.php?t=$1&view=previous; rewrite ^/next_topic/([0by dong - Nginx Mailing List - English
Its rewrite for phpBB mod - przemo.org. RewriteEngine on #RewriteBase /forum RewriteRule ^cat([0-9]*)\.htm$ ./index.php?c=$1 # RewriteRule ^(forum|.*-vf)([0-9]+)-([0-9]+),([0-9]+)\.htm$ ./viewforum.php?f=$2&topicdays=$3&start=$4 RewriteRule ^(forum|.*-vf)([0-9]+),([0-9]+)\.htm$ ./viewforum.php?f=$2&start=$3 RewriteRule ^(forum|.*-vf)([0-9]+)\.htm$ ./viewforum.php?f=$2by dong - Nginx Mailing List - English
How to set proxy_pass? When I set NAT in pf.conf then sites from nginx on my host dont working, but sites from jail is working :) Its my pf.conf now: rdr pass on em0 proto tcp from any to em0 port 80 -> 192.168.1.3 port 80 nat on em0 from 192.168.1.0/24 to any -> 188.x.x.x 192.168.1.3 - its my jail 188.x.x.x its my hostby dong - Nginx Mailing List - English
I have one nginx server on my host, whose connected to internet. I have second nginx in jail, whose has nonroutable ip. I want: nginx jail ---> nginx host ---> internet (world) How I can setup this? Proxy or sth?by dong - Nginx Mailing List - English
Im Filip. Best regards.by dong - New Member Introductions