Re: fastcgi_pass and http upstream

2017-03-22 Thread Yuriy Medvedev
Yes, it is possible. Please read the documentation. 22 марта 2017 г. 22:47 пользователь "Vucomir Ianculov via nginx" < nginx@nginx.org> написал: > corrected question > > i have a situation where i have 2 Apache backed server and 2 php-fpm > backed server. i would like to setup up a upstream to in

Re: Load Balance - Docker

2016-11-15 Thread Yuriy Medvedev
Use listen 443 ssl; 2016-11-15 17:34 GMT+03:00 Shaun Glass : > Mmmm ... I gather that would be at the Docker Nodes. Just want nginx that > when receiving a connection just connects to either of the 3. > > On Tue, Nov 15, 2016 at 4:16 PM, Yuriy Medvedev > wrote: > >> &g

Re: Load Balance - Docker

2016-11-15 Thread Yuriy Medvedev
2016-11-15 17:11 GMT+03:00 Shaun Glass : > proxy_redirect Where you terminate ssl? ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: URL is not pointing to https on iframe

2016-10-03 Thread Yuriy Medvedev
Hi, please use $scheme proxy_set_header X-Forwarded-Proto $scheme; 2016-10-03 16:58 GMT+03:00 Geo P.C. : > In our site we are loading a calnedar api function that works on http ( > cdn.instantcal.com) . While loading this site on our wordpress site with > https its not working and getting an erro

Re: Problem with SSL

2016-09-07 Thread Yuriy Medvedev
For all domain use ip+port. 8 сент. 2016 г. 8:19 пользователь "Kurogane" написал: > I never thought about it very ingenious indeed. > > If there is another way to accomplish it let me know. > > Posted at Nginx Forum: https://forum.nginx.org/read. > php?2,269401,269420#msg-269420 > >

Re: Problem with SSL

2016-09-07 Thread Yuriy Medvedev
Can you show your configuration? 7 сент. 2016 г. 19:33 пользователь "Kurogane" написал: > Nginx is not suppose work in block/vhost? that is not the issue here. > > Posted at Nginx Forum: https://forum.nginx.org/read. > php?2,269401,269413#msg-269413 > > __

Re: Problem with SSL

2016-09-07 Thread Yuriy Medvedev
Hi, you must use vhost configuration for domains. 2016-09-07 12:27 GMT+03:00 Kurogane : > Hi, > > I've a problem with non ssl. > > I got this setup. > > domain1.com > domain2.com SSL > > The certificate i not have issue all is fine here. The problem is when > someone go to this https://domain1.co

Re: curl -I says X-Cache-Status: MISS

2016-09-05 Thread Yuriy Medvedev
Miss status, it's file should be caching in next request. It's normal for file not in cache. Отправлено с моего ASUS Исходное сообщение Отправитель:Brent Clark Отправленные:Tue, 06 Sep 2016 09:46:25 +0300 Получатель:nginx@nginx.org Тема:curl -I says X-Cache-Status: MISS >Goo

Re: Erro 502 Bad Gateway help

2016-07-02 Thread Yuriy Medvedev
Hi. You must use fastcgi_pass if you use fastcgi server as backend e.g. php-fpm. If you use apache as backend you must use proxy_pass. 2 июля 2016 г. 10:25 пользователь "Francis Daly" написал: On Sat, Jul 02, 2016 at 06:21:38AM +, yair avendaño wrote: Hi there, > Hi I'm setting up a nginx a

Re: Nginx upstream https not proxing other pages(?)

2016-06-23 Thread Yuriy Medvedev
My config wotk fine with ssl proxy pass location / { proxy_pass https://backend; proxy_redirect off; proxy_next_upstream error timeout invalid_header http_502 http_503 http_504; proxy_connect_timeout 120s; proxy_set_header Host $host; proxy_set_

Re: Cant load perl module

2016-06-14 Thread Yuriy Medvedev
les/ngx_http_substitutions_filter_module > --add-module=/usr/src/builddir/debian/modules/nginx-auth-ldap > --add-module=/usr/src/builddir/debian/modules/ngx_http_pinba_module > --add-module=/usr/src/builddir/debian/modules/ngx_pagespeed > --add-module=/usr/src/builddir/debian/modules/ng

Re: Cant load perl module

2016-06-14 Thread Yuriy Medvedev
Hi, please show output nginx -V 14 июня 2016 г. 12:32 пользователь "Azfar Hashmi" написал: Hi, I just upgraded nginx to 1.10.1 but I am getting below error. nginx: [emerg] unknown directive "perl_modules" in /etc/nginx/nginx.conf:90 My package is already compiled with perl (nginx -V), I am on

Re: Passive health check in stream_proxy module

2016-06-07 Thread Yuriy Medvedev
Hi, https://www.nginx.com/resources/admin-guide/load-balancer/ 2016-06-08 0:03 GMT+03:00 Frank Liu : > How does passive health check work in stream_proxy module? especially for > UDP which is connectionless. How does nginx detect if it is a failed > connection and retry next? > > Thanks! > Frank

Re: nginx and HLS

2016-05-23 Thread Yuriy Medvedev
Hi. What protocol do you wanted use? 23 мая 2016 г. 19:47 пользователь "drook" написал: > Hi. > > I see there's a ngx_http_hls_module for HLS, but seems like it's for video > content, and I need to serve static mp3/audio files with nginx, prividing > some adaptive bitrate adjustment. Is it possib

Re: nginx reverse proxy with rtmp

2016-05-14 Thread Yuriy Medvedev
Rtmp it's tcp and you need use nginx as tcp proxy like haproxy 14 мая 2016 г. 3:04 пользователь "Zin Man" написал: > I am trying to use nginx reverse proxy to connect to a nginx rtmp server > > 2 servers a and b > > a = nginx with rtmp ( videos loacated here ) > > b = nginx reverse proxy > > the

Re: Serving website with Apache, with Nginx as interface?

2016-05-12 Thread Yuriy Medvedev
ade up, but how does it know > about Apache, or Apache about it? > > On May 12, 2016, at 17:56, Yuriy Medvedev wrote: > > Hi, you can use vhost in Apache and configure proxy_pass in nginx > configuration > For apache2 somthing like that > > ServerName

Re: Serving website with Apache, with Nginx as interface?

2016-05-12 Thread Yuriy Medvedev
Hi, you can use vhost in Apache and configure proxy_pass in nginx configuration For apache2 somthing like that ServerName foo.bar DocumentRoot /home/sites/ Order deny,allow Allow from all ErrorLog /home/sites/logs/apache_error.log CustomLog /home/sites/logs/apache_acce

Re: Anyone running OSTicket with Nginx?

2016-05-11 Thread Yuriy Medvedev
Configuration of pool in /etc/php5/fpm/pool.d/ in Ubuntu/Debian. 2016-05-12 0:36 GMT+03:00 Alex Hall : > The output of > sudo ps aux | grep php > > admin16599 0.0 0.0 12728 2164 pts/0S+ 21:34 0:00 grep php > root 18852 0.0 0.6 295568 24484 ?Ss May09 0:08 php-fp

Re: limit_req_zone

2016-05-11 Thread Yuriy Medvedev
You can see in source/auto/options by default HTTP_LIMIT_CONN=YES HTTP_LIMIT_REQ=YES 2016-05-12 0:12 GMT+03:00 tom.b : > Greetings fellow nginx users, > > Is the limit_req_zone module included in the core version ? I't doesn't > show > up when I list the modules via nginx -V although when I ad

Re: Anyone running OSTicket with Nginx?

2016-05-11 Thread Yuriy Medvedev
php5-fpm are logged? > /var/log/php5-fpm.log is empty. > > On Wed, May 11, 2016 at 4:09 PM, Yuriy Medvedev > wrote: > >> Try my config for Osticket 1.7, nginx+php-fpm >> I create that's config just for testing >> server { >> listen 80; >> server_name te

Re: Anyone running OSTicket with Nginx?

2016-05-11 Thread Yuriy Medvedev
ind where errors go. > Anyone know where, or if, errors in fastcgi/php5-fpm are logged? > /var/log/php5-fpm.log is empty. > > On Wed, May 11, 2016 at 4:09 PM, Yuriy Medvedev > wrote: > >> Try my config for Osticket 1.7, nginx+php-fpm >> I create that'

Re: Anyone running OSTicket with Nginx?

2016-05-11 Thread Yuriy Medvedev
Try my config for Osticket 1.7, nginx+php-fpm I create that's config just for testing server { listen 80; server_name test.com; access_log /var/log/nginx/tickets.access.log; error_log /var/log/nginx/tickets.error.log info; index index.php; root /var/www/ticket; client_max_body_size 5M; keepalive_ti

Re: Server setup consultant

2016-05-09 Thread Yuriy Medvedev
You can write to me. My Skype kenny-opennix Отправлено с моего ASUS Исходное сообщение Отправитель:locojohn Отправленные:Mon, 09 May 2016 12:15:58 +0300 Получатель:nginx@nginx.org Тема:Re: Server setup consultant >Hello Giulio, > >I can help you out with nginx configuration, o

Re: Поддерживает ли Nginx прозрачный прокси?

2016-05-09 Thread Yuriy Medvedev
Конечно умеет, Вам нужно настроить nginx как reverse proxy Отправлено с моего ASUS Исходное сообщение Отправитель:Babaev Отправленные:Mon, 09 May 2016 02:04:50 +0300 Получатель:nginx@nginx.org Тема:Поддерживает ли Nginx прозрачный прокси? >Поддерживает ли Nginx прозрачный прок

Nginx as transparent tcp proxy

2016-04-28 Thread Yuriy Medvedev
Hi,everyone. How i can run nginx as transparent tcp proxy. Such as haproxy transparent. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx