Re: proxy

2015-12-30 Thread Francis Daly
On Wed, Dec 30, 2015 at 02:50:24PM +0800, 天河石 - 谢金鹏 wrote: Hi there, > In my local machine browser, I want to open http://localhost/abc to proxy a > real http://www.abc.com/ as well as proxying all child resources such as > > > http://localhost/abc/bcd/a.html to proxy http://www.abc.com/bcd/a.

Re: Reverse proxy to QNAP does not work

2015-12-30 Thread Francis Daly
On Wed, Dec 16, 2015 at 03:38:51PM -0500, no.1 wrote: Hi there, > thanks for the details. I guess the trick is first to bypass a QNAP internal > redirect to the NAS GUI (if possible or to integrate it on the first > request). And second to to adapt the login request the right way. (btw: I > try t

Re: Nginx redirect/rewrite Rule

2015-12-30 Thread Francis Daly
On Sat, Dec 26, 2015 at 06:42:44AM -0500, Nginx Forum wrote: Hi there, > Old Url > http://www.mydomain.com.br/forum/elsword-downloads-de-cheats-utilitarios/2369461-26-04-revolution-trainer-elsword.html > > 1. /forum/ - It is the folder that installed vbulletin > 2. /elsword-downloads-de-cheats-u

Re: smtp proxy with postfix

2015-12-30 Thread Maxim Dounin
Hello! On Wed, Dec 30, 2015 at 10:49:06AM -0500, Cugar15 wrote: > HI Maxim, thanks for reply! > > 1) Interesting, I will look into the ngx_stream_core_module > > 2) I still have one question for Xclient = on - since I'm banged my head > against it for days now: > > You state: All information o

Re: smtp proxy with postfix

2015-12-30 Thread Cugar15
HI Maxim, thanks for reply! 1) Interesting, I will look into the ngx_stream_core_module 2) I still have one question for Xclient = on - since I'm banged my head against it for days now: You state: All information obtained by nginx is passed via the XCLIENT command. Is this true for all credenti

Re: https redirection not working correctly

2015-12-30 Thread Parzip
could this be related to the forwarding of the address? This is my domain registrar setting: X.ch => web alias to subdomain.X.ch subdomain.X.ch => A record to IP address of my server I need this setup because my odoo-erp selects the database according to my subdomains. Posted at Ngi

Re: https redirection not working correctly

2015-12-30 Thread Parzip
Hello Kevin! Thank you very much, but it's still not working ## odoo backend ## upstream odoo { server 127.0.0.1:8069; } ## http redirects to https ## server { listen 80; server_name *.X.ch www.X.ch X.ch; return 301 https://$server_name$request_uri; } ## https site## serv

Re: smtp proxy with postfix

2015-12-30 Thread Maxim Dounin
Hello! On Wed, Dec 30, 2015 at 08:20:27AM -0500, Cugar15 wrote: > Well, here we go again... somehow, I'm not getting this smtp proxy to work > with nginx. > I moved to haproxy, and this combination works ok. Creating a tcp connection > passes over to postfix > and the postfix prompt is seen using

Re: https redirection not working correctly

2015-12-30 Thread Kevin Worthington
Hello! After your upstream block, but before your server (https) block put something like this: server { listen 80; server_namex.ch www.x.ch; return 301 https://$server_name$request_uri; } ...and remove the ## http redirects to https ##

Re: mistserver features in nginx

2015-12-30 Thread Andrew Hutchings
Hi Zenny, On 20/12/15 17:08, Zenny wrote: On 12/20/15, Valentin V. Bartenev wrote: On Sunday 20 December 2015 10:44:03 Zenny wrote: Hi, Just reading the following two documents and the first link refers to the some of the nginx features. https://mistserver.org/comparison https://mistserver.

https redirection not working correctly

2015-12-30 Thread Parzip
Hello! I am trying to set up nginx to - switch from http traffic to https - send alls https traffic to my odoo backend on port 8069 This is already working for different subdomains, but not for the domain itself. http://(www.)subdomain.domain.ch => https://(www.)subdomain.domain.ch http://(ww

Re: smtp proxy with postfix

2015-12-30 Thread Cugar15
Well, here we go again... somehow, I'm not getting this smtp proxy to work with nginx. I moved to haproxy, and this combination works ok. Creating a tcp connection passes over to postfix and the postfix prompt is seen using a telnet connection - and all works just fine. However, I'd like to stick

Re: Nginx Load Balancer - Random file named "download" when using Chrome.

2015-12-30 Thread B.R.
nginx serves content, but does not generate it. If users download anything, it is either related to the application or to the client (browser module?). I suggest you check both sides to find where/how this URI is generated and why it is accessed. The incorrect MIME type means a backend has badly p

Re: gzip compression not working

2015-12-30 Thread Tony Tong
i find a free online service to minify js http://www.online-code.net/minify-js.html and compress css http://www.online-code.net/minify-css.html, so it will reduce the size of web page. -- Posted via http://www.ruby-forum.com/. ___ nginx mailing list

Re: Nginx + Php-fpm Ownership issue !!

2015-12-30 Thread shahzaib shahzaib
Thanks for reply. However, our developer just notified us that the directory with root owner was created by a cron which ran by user root and created that issue though I've slightly modified nginx user directive with following : former user www ; later user www www; Regards. Shahzaib On Wed, De

Re: Nginx + Php-fpm Ownership issue !!

2015-12-30 Thread wishmaster
Hi, > > Hi, > > > We've installed nginx + php-fpm on FreeBSD OS and both of them are listening > on www user / group. Here is the config : > > NGINX : > > user www ; > > > > PHP-FPM : > > > [www] > listen = /var/run/www.socket > user = www > group = www > listen.owner = www > listen.gro