Displaying 20 results from an estimated 21 matches for "proxy_pass".
2016 Jul 27
2
Proxy
Hi all,
I want to do a proxy to icecast (:8000) with nginx (:80).
Its working for me, stream is running on port 80, but on the first loading
is "pending" For a long time before its starts play.
Who using the "proxy_pass" on nginx and can help?
Thnx.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast-dev/attachments/20160727/18e10cee/attachment.html>
2003 May 14
0
Basic HTTP Proxy Authentication: patch update
...uot;rsync.h"
+/**
+ *declare the base64_encode function from authenticate.c
+ **/
+void base64_encode(char *buf, int len, char *out);
/**
* Establish a proxy connection on an open socket to a web proxy by
- * using the HTTP CONNECT method.
+ * using the CONNECT method. If proxy_user and proxy_pass are not NULL,
+ * they are used to authenticate to the proxy using the "Basic"
+ * proxy authorization protocol
**/
-static int establish_proxy_connection(int fd, char *host, int port)
+static int establish_proxy_connection(int fd, char *host, int port,
+...
2002 Apr 04
1
[patch] Basic HTTP Proxy Authentication
...har *out);
-/* Establish a proxy connection on an open socket to a web roxy by
- * using the CONNECT method. */
-static int establish_proxy_connection(int fd, char *host, int port)
+/* Establish a proxy connection on an open socket to a web proxy by
+ * using the CONNECT method. If proxy_user and proxy_pass are not NULL,
+ * they are used to authenticate to the proxy using the "Basic"
+ * proxy authorization protocol */
+static int establish_proxy_connection(int fd, char *host, int port,
+ char *proxy_user, char *proxy_pass)
{
char buffer[1024];
+ char authbuf[1024];
+ size_t au...
2016 Jul 27
2
Proxy
Thank you all.
Except from the buffering it was the fact that I used "localhost" instead of
127.0.0.1 in the proxy_pass.
Now my configuration is:
location /stream1/ {
proxy_buffering off;
proxy_ignore_client_abort off;
proxy_intercept_errors on;
proxy_next_upstream error timeout invalid_header;
proxy_redirect of...
2005 Apr 01
1
bug in xmms plugin v 1.1.2
...t_ = (*((FLAC__byte*)(&test)))? false : true;
+ /* make all the config struct strings dynamic, to ease our life */
+ flac_cfg.stream.proxy_host = g_strdup(flac_cfg.stream.proxy_host);
+ flac_cfg.stream.proxy_user = g_strdup(flac_cfg.stream.proxy_user);
+ flac_cfg.stream.proxy_pass = g_strdup(flac_cfg.stream.proxy_pass);
+ flac_cfg.stream.save_http_path =
g_strdup(flac_cfg.stream.save_http_path);
+
flac_cfg.title.tag_override = FALSE;
g_free(flac_cfg.title.tag_format);
flac_cfg.title.convert_char_set = FALSE;
2012 Sep 03
2
erb syntaxes
Hi guys,
I''m trying to do the following in my template:
location <%= location %> {
proxy_pass <%= proxy %>;
<% if scope.lookupvar(''nginx::resource::location::proxy_header'') then
scope.lookupvar(''nginx::resource::location::proxy_header'').each do
|header| %>
proxy_set_header <%= header %>
<% end %>
}
But i'...
2004 Sep 10
0
http streaming in the xmms plugin
...NULL /* user_char_set */
},
+ /* stream */
+ {
+ 100 /* KB */, /* http_buffer_size */
+ 50, /* http_prebuffer */
+ FALSE, /* use_proxy */
+ "", /* proxy_host */
+ 0, /* proxy_port */
+ FALSE, /* proxy_use_auth */
+ "", /* proxy_user */
+ "", /* proxy_pass */
+ FALSE, /* save_http_stream */
+ "", /* save_http_path */
+ FALSE, /* cast_title_streaming */
+ FALSE /* use_udp_channel */
+ },
/* output */
{
/* replaygain */
***************
*** 95,100 ****
--- 110,127 ----
static GtkWidget *resolution_replaygain_bps_out_radio_...
2016 Jul 27
0
Proxy
...proxy_redirect off;
proxy_set_header X-Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_connect_timeout 60;
proxy_send_timeout 21600;
proxy_read_timeout 21600;
proxy_pass http://my_dns_name.tldn:8010;
}
}
More information about said directive can be found here:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_buffering
Jesse
From: Icecast-dev [mailto:icecast-dev-bounces at xiph.org] On Behalf Of Yaniv
Sharon
Sent: Wednesday, Ju...
2011 May 24
0
read_nonblock': end of file reached (EOF Error)
...= ''XIM4jgY6YIrOoB''
YAHOO_WEB_SERVICE_SEARCH_URL = ''http://search.yahooapis.com/
WebSearchService/V1/webSearch''
query = ''world cup 2011''
results_limit = 10
proxy_addr = ''MyProxy''
proxy_port = 80
proxy_name = "MyName"
proxy_pass = "MyPassword"
path = "?appid=#{APPLICATION_ID}&query=#{URI.encode(query)}
&results=#{results_limit}"
Net::HTTP::Proxy(proxy_addr, roxy_port, proxy_name,
proxy_pass ).start( YAHOO_WEB_SERVICE_SEARCH_URL ) do |http|
response = http.get(path)
puts response.body
end
W...
2010 Feb 14
6
Nginx Sock And Rails Envinroment Error
Hi There,
Im running an amazon instance with nginx proxying to a unicorn sock.
For some reason, even though i specify the production environment, when being visited by nginx, the site shows errors in development form.
Interestingly, when running on a port rather than a sock, if i visit that port, the errors are rendered as normal with a 500 page, the same port, throught nginx, shows errors
2011 Jul 08
2
Puppetmaster setup with separate CA server configuration help
...proxy_set_header X-SSL-Issuer $ssl_client_i_dn;
proxy_buffer_size 16k;
proxy_buffers 8 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
proxy_read_timeout 65;
location ^~ /production/certificate/ca {
proxy_pass https://puppetca;
}
location ^~ /production/certificate {
proxy_pass https://puppetca;
}
location ^~ /production/certificate_revocation_list/ca {
proxy_pass https://puppetca;
}
location ^~ / {
proxy_pas...
2006 Dec 07
17
compress and max upload size?
I am using mongrel_cluster with mod_proxy_balancer and would like to
enable compression (assuming it improves throughtput) and limit file
size upload. I configured mod_deflate and LimitRequestSize in Apache,
but in my trials looks like the proxied calls bypass those directives
(the conf goes below).
Is there a way to get this?
-- fxn
# Adapt this .example locally, as usual.
#
# To be
2006 Aug 09
0
IIS proxying to lighttpd/apache to mongrel with SSL
...eeding to switch a (ASP.NET) web application that''s running
behind a firewall appliance on IIS on port 8443 under SSL to a rails
web application -- a mongrel instance (and perhaps later apache or
lighttpd with new mod_core_prox in front of mongrel) on a different
server.
I remember Apache proxy_pass confs having to foward on a special
request to let mongrel know it''s SSL, and I''ve also seen that for IIS
forwarding, I''ll need to use a reverse_proxy_pass plugin. Are there
any other snafus with all that redirection?
I see: http://www.napcs.com/howto/rails/deploy/ (Bri...
2006 May 24
0
rsync connection limit
...+ alarm(do_timeout);
+ }
+
if (connect(s, res->ai_addr, res->ai_addrlen) < 0) {
close(s);
s = -1;
continue;
}
+
+ if ( do_timeout > 0 )
+ {
+ alarm(0);
+ }
+
if (proxied
&& establish_proxy_connection(s, host, port,
proxy_user, proxy_pass) != 0) {
2011 Mar 14
1
slight security problem
...t_header X-Client-Verify SUCCESS;
proxy_set_header X-Client-DN $ssl_client_s_dn;
proxy_set_header X-SSL-Subject $ssl_client_s_dn;
proxy_set_header X-SSL-Issuer $ssl_client_i_dn;
proxy_read_timeout 65;
location / {
proxy_pass http://puppet-production;
}
}
</code>
and here is how i start puppetmasterd:
/usr/bin/thin start -P /var/run/puppet/$ROLE_NAME.pid -e production --
servers 5 --daemonize --socket /var/run/puppet/$ROLE_NAME.sock --
chdir /etc/puppet/ --user puppet --group puppet -R /etc/pu...
2008 Mar 31
3
how to get mongrel to use maintenance.html file?
Does someone know how to tell mongrel_rails to read the
public/system/maintenance.html file?
--
Posted via http://www.ruby-forum.com/.
2012 Dec 06
2
pasenger does not start puppet master under nginx
...ic page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
# proxy the PHP scripts to Apache listening on 127.0.0.1:80
#
#location ~ \.php$ {
# proxy_pass http://127.0.0.1;
#}
# pass the PHP scripts to FastCGI server listening on
127.0.0.1:9000
#
location ~ \.php$ {
root html;
fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
fastcgi_index...
2013 Sep 23
0
400 bad request
...tfound {
rewrite ^(.*)$ $scheme://$host permanent;
}
location @server_error {
rewrite ^(.*)$ $scheme://$host permanent;
}
location @maintenance {
rewrite ^(.*)$ $scheme://$host permanent;
}
sendfile on;
send_timeout 300s;
location / {
proxy_pass http://gancx;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
charset UTF-8;
client_max_body_size 7m;
proxy_buffe...
2009 Jul 21
2
Toward a simple Nginx configuration for Puppet Mongrel
...et/ssl/ca/ca_crt.pem;
ssl_ciphers SSLv2:-LOW:-EXPORT:RC4+RSA;
# allow authenticated and client without certs
ssl_verify_client optional;
# obey to the Puppet CRL
ssl_crl /var/lib/puppet/ssl/ca/ca_crl.pem;
root /var/tmp;
location / {
proxy_pass http://puppet-production;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Client-Verify $ssl_clien...
2009 Oct 13
7
Unicorn Nginx Issue
I''ve setup nginx with this
server {
listen 80;
server_name unicorn.local;
location / {
proxy_pass http://unicorn;
}
}
upstream unicorn {
server unix:/Users/mattmongeau/projects/test/unicorn/tmp/sockets/unicorn.sock;
}
When I run unicorn_rails -c config/unicorn.rb -E development I can
access the application just fine on unicorn.local
When I run unicorn_rails -c config/unicorn.rb -E develop...