Re: proxy_pass works on main page but not other pages

2022-10-30 Thread Brian Carey
found. I hope I'm not asking too many questions. On 10/30/22 11:41, Brian Carey wrote: Okay I seem to have solved this. I re-wrote the app urls to mount all directories under /striker, something unnecessary for the app itself but necessary for nginx to properly forward. I also remove

Re: proxy_pass works on main page but not other pages

2022-10-30 Thread Brian Carey
Okay I seem to have solved this. I re-wrote the app urls to mount all directories under /striker, something unnecessary for the app itself but necessary for nginx to properly forward. I also removed the rewrite rule below. Thanks by the way for the help you give here. Brian On 10/30/22 11

proxy_pass works on main page but not other pages

2022-10-30 Thread Brian Carey
Hi, I have an app running at port 8239 on biscotty.me. If I access the app directly everything works as expected. I am able to use proxy_pass to forward https:/biscotty.me/striker to the main page of my app. The problem is that all of the links in the app result in a page not found error fro

Re: forward 443 requests to correct (?) port

2022-09-19 Thread Brian Carey
https://www.linkedin.com/in/ericgermann Medium:https://ekgermann.medium.com Twitter: @ekgermann Telegram || Signal || Skype || Phone +1 {dash} 419 {dash} 513 {dash} 0712 GPG Fingerprint:89ED 36B3 515A 211B 6390  60A9 E30D 9B9B 3EBF F1A1 On Sep 19, 2022, at 14:25, Brian Carey wrote: Hi, Mayb

forward 443 requests to correct (?) port

2022-09-19 Thread Brian Carey
Hi, Maybe I'm misunderstanding how this should work. Can I use non-ssl connections for upstream servers when the originating request is https? I'm forwarding nginx requests to an apache server listening on 8080. Everything works fine if I explicitly use http but not https. My nginx site itse

Fwd: soooo close: nginx gunicorn flask directory stripped from links

2022-09-16 Thread Brian Carey
. Forwarded Message Subject: Re: s close: nginx gunicorn flask directory stripped from links - SOLVED Date: Fri, 16 Sep 2022 11:57:55 -0600 From: Brian Carey To: Francis Daly Hi, I believe that if something isn't working that should be the usual answer is very simpl

Re: soooo close: nginx gunicorn flask directory stripped from links

2022-09-16 Thread Brian Scott
which is a good thing in general. ⁣Get BlueMail for Android ​ On Sep 16, 2022, 1:49 AM, at 1:49 AM, Francis Daly wrote: >On Fri, Sep 16, 2022 at 01:22:46AM -0600, Brian Carey wrote: > >Hi there, > >> I'm very close to getting my flask app properly reverse-proxied by >

soooo close: nginx gunicorn flask directory stripped from links

2022-09-16 Thread Brian Carey
Hi, I'm very close to getting my flask app properly reverse-proxied by nginx. What works: I can access and use my app successfully at http://127.0.0.1:8000. I can get to my main page at http://my.domain/app. If I specifically enter the url of a sub-directory/page I can get there, for example

nginx exits error code 0 with docker compose

2022-09-05 Thread Brian Carey
I'm trying to run nginx/mysql/php in docker. Everything seems to run fine. I have added tty: true and changed the Here is my Dockerfile, docker-compose.yaml and the nginx-related output. I did try adding tty: true but it made no difference. Any ideas? Thanks in advance. biscotty ''' FROM n

best practice for file locations

2022-09-04 Thread Brian Carey
Hi, I'm a little confused about the relationship between conf files in conf.d vs sites-enabled. Should server configurations be set up in one directory or both? If either is there a "best practice" location? If there are conf files in both locations which takes precedence? Some sources I've r

Re: Trouble setting up SSL

2022-09-04 Thread Brian Carey
firewall? Check `/var/log/syslog` for firewall messages. On Sun, Sep 4, 2022, 7:27 PM Brian Carey wrote: Hi, I'm pretty new to nginx but do have a server up and running. I've been pulling my hair out over ssl setup though. I have read the docs on your serve

Re: Trouble setting up SSL

2022-09-04 Thread Brian Carey
? Check `/var/log/syslog` for firewall messages. I've disabled the firewall until I get this resolved. On Sun, Sep 4, 2022, 7:27 PM Brian Carey wrote: Hi, I'm pretty new to nginx but do have a server up and running. I've been pulling my hair out over ssl setup

Trouble setting up SSL

2022-09-04 Thread Brian Carey
Hi, I'm pretty new to nginx but do have a server up and running. I've been pulling my hair out over ssl setup though. I have read the docs on your server and some others like the alpine site. The most recent attempt I followed the video tutorial on your website. Whenever I try to connect via

Nginx and token in localstorage

2018-10-23 Thread Brian W.
I simply refresh the page, this all works. Has thi0s been seen before? Brian ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Proxy_pass url with a #

2018-10-09 Thread Brian W.
Yes on both counts, I didnt see that the /logon could also be the backend proxy_pass. I was trying to stick all sorts of python gets in the backend-sample-app.py script which was not right, and the # issue was a non issue, because there is an auto redirect from / to the desired url. Brian On Mon

Re: Proxy_pass url with a #

2018-10-08 Thread Brian W.
Ok I figured it out. A page I saw mentioned copying the ldap conf as the nginx.conf file and using that and I did. I erroneously thought the port 9000 connection in there was a necessary ldap connect piece and so I didn't change it, until today with your questioning. Thanx Brian On Mon,

Re: Proxy_pass url with a #

2018-10-08 Thread Brian W.
also reverse proxy without the auth and have it work. What I need to figure out is how do I do the reverse proxy to a web server on a different machine and send the user there via reverse proxy after a successful auth. Brian On Mon, Oct 8, 2018, 7:07 AM Francis Daly wrote: > On Sun, Oct 07, 2

Re: Proxy_pass url with a #

2018-10-07 Thread Brian Whalen
works. Brian On 10/6/18 3:41 PM, Francis Daly wrote: On Fri, Oct 05, 2018 at 08:59:21AM -0700, Brian W. wrote: Hi there, In have this largely working aside from the above. If I proxy pass to the url with a # in it it's treated like a comment and ignores the rest. If I encode it with %23 I

Proxy_pass url with a #

2018-10-05 Thread Brian W.
In have this largely working aside from the above. If I proxy pass to the url with a # in it it's treated like a comment and ignores the rest. If I encode it with %23 I get a 404 error. What have you all done to get past this? Brian ___ nginx ma

Redirect to external site

2018-10-01 Thread Brian W.
blank white page sadly. I tried a simple requests or urllibrequest, as well as a selfsend_header with the new url. Has anyone else gotten this to work? Brian ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx with windows auth

2018-09-24 Thread Brian W.
I saw a post this morning claiming that only paid versions supported it. I did get it to work; it wasn't initially obvious that the ldap auth conf file was to replace the nginx.conf file and not be an addition. On Mon, Sep 24, 2018, 9:36 AM Brian W. wrote: > Is this possible in

Nginx with windows auth

2018-09-24 Thread Brian W.
Is this possible in the free version or only paid products? Brian ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: E3-1240 with 32GB Ram - Unable to set the optimal value for the server

2017-10-16 Thread Brian
might need better tuning too. Brian (Sent via Mobile) On Oct 16, 2017, at 2:04 PM, agriz wrote: worker_processes 4; worker_rlimit_nofile 4; events { worker_connections 4096; #accept_mutex on; #accept_mutex_delay 500ms; multi_accept on; use epoll; } pm.max_children = 50

ssl_preread_server_name not extracted

2017-09-11 Thread Brian
7.0.0.186 [11/Sep/2017:20:30:22 -0700] with SNI name "" proxying to "" TCP 500 0 0 0.066 107.0.0.186 [11/Sep/2017:20:30:22 -0700] with SNI name "" proxying to "" TCP 500 0 0 0.048 Thank you, Brian ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: session persistance with IP hash

2016-07-28 Thread Brian Pugh
Very thorough and detailed explanation, even if it was "simplified". Both you and Reinis have been a tremendous help. On Thu, Jul 28, 2016 at 11:07 AM, Robert Paprocki < rpapro...@fearnothingproductions.net> wrote: > Hello, > > On Thu, Jul 28, 2016 at 7:32 AM, Brian Pu

Re: session persistance with IP hash

2016-07-28 Thread Brian Pugh
Yesterday once I got the traffic going to the backend servers from nginx I noticed that I was pinned to "backend3", which is last in the order. And since I am the one setting this up I am the only user. So I changed up my order just to see the effects of calculating a new hash. Instead of: upstrea

Re: session persistance with IP hash

2016-07-27 Thread Brian Pugh
Reinis Rozitis said: The problem with this (if it matters) is that there is no (pre)defined value of the cookie BACKEND which would specifically route particular client to particular backend - I mean for example if you use values 'backend1', 'backend2', 'backend3' the hashed keys might (or not) asw

Re: session persistance with IP hash

2016-07-27 Thread Brian Pugh
Reinis Rozitis said: Yes, you can use different hash mechanisms/keys (for example specific cookies etc): https://nginx.org/en/docs/stream/ngx_stream_upstream_module.html#hash There are also some third-party sticky cookie modules. Took a look at the link, but I have no idea what that would look li

session persistance with IP hash

2016-07-27 Thread Brian Pugh
Running nginx free version 1.10.1-1.el6.ngx.x86_64 on RHEL 6.7. In my conf I am using http { upstream backend { # Use ip hash for session persistance *ip_hash;* server backend1:80; server backend2:80; server backend3:80; } My understanding is that the

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
plus? If my nginx server has an SSL cert loaded that validates the hostnames for the backend servers and my backend servers also have the same cert and communications are going over port 443 why would I need to do anything else? On Wed, Jul 27, 2016 at 12:16 PM, Brian Pugh wrote: > Ok. I

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
Ok. I was able to get it working by changing this: proxy_pass http://ssl_myapplicationsite.net <http://ssl_test-resolve.cspire.net/>; to this: proxy_pass *https*://ssl_myapplicationsite.net <http://ssl_test-resolve.cspire.net/>; On Wed, Jul 27, 2016 at 12:07 PM, Brian

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
Still not working. Logs show: 2016/07/27 11:59:35 [warn] 28038#28038: *3 upstream server temporarily disabled while reading response header from upstream, client: 192.168.254.202, server: myapplicationsite.net, request: "GET / HTTP/1.1", upstream: *"http://192.168.155.120:443/

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
Ok. This looks like progress. However it still fails. Here is my config as it stands now. in nginx.conf: http { upstream myappliationsite.net { ip_hash; server backendappsite1.net; server backendappsite2.net; server backendappsite3.net; } In default.conf: serve

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
in both nginx.conf and default.conf using the names/info I have provided? On Wed, Jul 27, 2016 at 9:48 AM, Francis Daly wrote: > On Wed, Jul 27, 2016 at 07:33:31AM -0500, Brian Pugh wrote: > > Hi there, > > > I am using nginx as a load balancer. However when I type in the U

Re: nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
nginx-1.10.1-1.el6.ngx.x86_64 on RHEL 6. What do you mean by rename the upstream? I thought if my backend applications are listening for requests on https://myapplicationsite.net then thats what the upstream server needs to be defined as in nginx? If I do rename and my backend server listen on http

nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
I am posting this again because a copy never appeared in my inbox. Please ignore if it was actually delivered to the group already. I am using nginx as a load balancer. However when I type in the URL for my site, which resolves to the IP of the load balancer, I get the default nginx page saying "n

nginx not forwarding requests to backend servers.

2016-07-27 Thread Brian Pugh
I am using nginx as a load balancer. However when I type in the URL for my site, which resolves to the IP of the load balancer, I get the default nginx page saying "nginx has been setup more configuration is required". I would expect nginx to forward my request through to the backend servers I have

Re: does nginx forward requests to backend servers using http or https?

2016-07-05 Thread Brian Pugh
e, Jul 5, 2016 at 9:26 AM, Brian Pugh mailto:bp...@cscontract.com>> wrote: I am using the free version of nginx on RHEL 6.7. The version is : nginx-1.10.1-1.el6.ngx.x86_64 When using nginx as a load balancer I would like to know if nginx forwards requests to back

does nginx forward requests to backend servers using http or https?

2016-07-05 Thread Brian Pugh
I am using the free version of nginx on RHEL 6.7. The version is : nginx-1.10.1-1.el6.ngx.x86_64 When using nginx as a load balancer I would like to know if nginx forwards requests to backend servers using http or https?? ___ nginx mailing list

RE: Odd issue with proxy_pass serving wrong cached data

2014-02-27 Thread Brian Hill
nx.org [mailto:nginx-boun...@nginx.org] On Behalf Of Maxim Dounin Sent: Wednesday, February 26, 2014 1:12 AM To: nginx@nginx.org Subject: Re: Odd issue with proxy_pass serving wrong cached data Hello! On Wed, Feb 26, 2014 at 02:32:25AM +, Brian Hill wrote: > So now it doesn't look like

RE: Odd issue with proxy_pass serving wrong cached data

2014-02-25 Thread Brian Hill
So now it doesn't look like it's a caching issue at all. I've completely gutted my config files and stripped it down, and I'm still seeing the same issue. I even shot a video of what I'm seeing and stuck it on YouTube as an example (http://youtu.be/lPR1453YBUw). As the video shows, the connectio

Odd issue with proxy_pass serving wrong cached data

2014-02-25 Thread Brian Hill
I'm having an odd issue, and I'm not sure where to start. We've been implementing a number of NGINX servers recently, and one of them is doing a proxy_pass to an older IIS7 server that we'll be phasing out soon, which is hosting a couple of minor sites in our datacenter. When initially browsing

RE: Proxy pass location inheritance

2014-02-18 Thread Brian Hill
oun...@nginx.org] On Behalf Of Maxim Dounin Sent: Tuesday, February 18, 2014 4:13 AM To: nginx@nginx.org Subject: Re: Proxy pass location inheritance Hello! On Mon, Feb 17, 2014 at 09:26:56PM +, Brian Hill wrote: > So there is no precedence given to nested regex locations at all? What >

RE: Proxy pass location inheritance

2014-02-17 Thread Brian Hill
45PM +0000, Brian Hill wrote: > So it sounds like my only solution is to restructure the locations to avoid > the original match in /. I don't have access to the servers again until > tomorrow, but I'm wondering if something like this would work: > > location / { >

RE: Proxy pass location inheritance

2014-02-17 Thread Brian Hill
2014 at 08:55:02AM +, Brian Hill wrote: > Close, it's more akin to: > > location / { > location ~ regex1 { > # regex inside / > } > } > > location ~ regex2 { > location ~ regex3 { > # regex inside r

RE: Proxy pass location inheritance

2014-02-17 Thread Brian Hill
roxy pass location inheritance Hello! On Thu, Feb 13, 2014 at 06:43:08PM +0000, Brian Hill wrote: > Hello, we are using NGINX to serve a combination of local and > proxied content coming from both an Apache server (mostly PHP > content) and IIS 7.5 (a handful of third party .Net > applic

Proxy pass location inheritance

2014-02-13 Thread Brian Hill
Hello, we are using NGINX to serve a combination of local and proxied content coming from both an Apache server (mostly PHP content) and IIS 7.5 (a handful of third party .Net applications). The proxy is working properly for the pages themselves, but we wanted set up a separate location block fo

Re: Bounty for #416

2014-01-21 Thread Brian Davis
On Tue, Jan 21, 2014 at 4:26 AM, Andrey Utkin < andrey.krieger.ut...@gmail.com> wrote: > 2014/1/14 Brian Davis : > > Like the ticket creator says in the description, always serving cached > > versions of pages would be extremely cool, so I wanted to let people > know I

Bounty for #416

2014-01-14 Thread Brian Davis
Like the ticket creator says in the description, always serving cached versions of pages would be extremely cool, so I wanted to let people know I just offered a $500 bounty for http://trac.nginx.org/nginx/ticket/416 at Bountysource. https://www.bountysource.com/issues/972735-proxy_cache_use_stale

Re: Nginx Deployments in Practice

2013-12-11 Thread Brian Akins
I build packages using omnibus - https://github.com/bakins/omnibus-nginx ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Why use haproxy now ?

2013-03-29 Thread Brian Akins
We never really use nginx in straight proxy mode - we always have some munging or something to do to the request or response along with cacheing, etc. So, we'd wind up using nginx (or varnish) along with haproxy anyway and that's just an unneeded layer for us, right now. Apache TrafficServer looks

Re: Why use haproxy now ?

2013-03-28 Thread Brian Akins
On Thu, Mar 28, 2013 at 7:21 AM, Lukas Tribus wrote: > Are you able to forward 20Gbps with nginx on a single machine? > I doubt that. Why would you doubt that? Of course, my machines may be bigger than the norm... ___ nginx mailing list nginx@nginx.org

Re: Why use haproxy now ?

2013-03-28 Thread Brian Akins
I use haproxy for alot of non-HTTP load balancing. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: shell environment variables in "include"-directive not working

2013-02-23 Thread Brian H.
ou want to accomplish, but I think it strikes a much nicer balance than use a sed machete to hack through a config file using regular expressions it doesn't understand and accidentally clobbering something you didn't intend to. Regards, -Brian Horakh Chief Technical Guy anyCommerce Max