Re: Custom redirect for one page from https to http with different name.

2024-01-09 Thread Francis Daly
(Other 30x numbers can work too.) Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx serving wrong site

2024-01-09 Thread Francis Daly
rt 443. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx serving wrong site

2024-01-08 Thread Francis Daly
On Mon, Jan 08, 2024 at 09:49:23AM -0500, James Read wrote: > On Mon, 8 Jan 2024, 09:29 Francis Daly, wrote: > > On Mon, Jan 08, 2024 at 09:13:38AM -0500, James Read wrote: Hi there, > > So I'm going to guess that your "server_name" line is of the > > form &q

Re: Nginx serving wrong site

2024-01-08 Thread Francis Daly
s server. https://nginx.org/en/docs/http/request_processing.html Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx serving wrong site

2024-01-08 Thread Francis Daly
in. Can you show a configuration and a request that is handled in a different location{} from what you want? Thanks, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Wrong content served

2023-12-26 Thread Francis Daly
show the response to the "curl" request, to see whether "redirect" is a http 301 from the web server, or is something like a http 200 from the web server with maybe some javascript content that redirects to "the wrong" place? Cheers, f -- Francis Daly

Re: Forcing incognito mode on a reverse proxy

2023-12-20 Thread Francis Daly
ere a way to do this? Probably not trivially. Good luck with it! f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: serving files from /proc

2023-12-12 Thread Francis Daly
rewrite the nginx static file handler to do extra things when it is told that the size is 0. > is there a simple way to configure nginx to return the cotent of > /proc/net/route or any other file in /proc ? Untested, but I suspect "directly: no; indirectly, maybe (as above)". C

Re: HTTP status 500 when using Nginx with Jenkins

2023-09-07 Thread Francis Daly
d by nginx) is probably the most useful next step. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: 502 Bad Gateway using Cloudflare and Kestrel

2023-09-04 Thread Francis Daly
gging level to have more details written, if that will help diagnose things. And the port-5443 service should log something like "I got a http request to a https port" wherever it writes its information. Cheers, f -- Francis Dalyfran...@daoine.org __

Re: Nginx Support required

2023-09-03 Thread Francis Daly
around the Referer header sent in the request -- if the client tells me that it is coming from a "should be blocked" source, I would probably believe it without needing to do any more sophisticated checking for this request. Cheers, f -- Francis Dalyfran...@daoine.org

Re: Nginx Support required

2023-09-02 Thread Francis Daly
e might be able to make an alternate suggestion. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Reverse proxying with URL Rewrite

2023-08-06 Thread Francis Daly
{} content with === if ($the_bit_after_the_prefix = "") { return 301 $request_uri/; } proxy_pass https://$the_bit_after_the_prefix.test.us$the_rest_of_the_request; === You are effectively telling your nginx to resolve-and-access a dns name provide

Re: wordpress - Primary script unknown

2023-08-04 Thread Francis Daly
? Some other (less likely?) possibilities include -- does your nginx send more than one value for SCRIPT_FILENAME; and if so, is your fastcgi server trying to use a different one? Does your fastcgi server actually use SCRIPT_FILENAME, or does it use some other param or c

Re: Mixing limit_except breaks rewrite functionality: workaround request

2023-07-10 Thread Francis Daly
auth_basic_user_file /etc/nginx/conf.d/htpasswd_write; } proxy_pass http://server:8081/$request_without_x; } } } === looks like it should do what you want? Cheers, f -- Francis Dalyfran...@daoine.org

Re: Mixing limit_except breaks rewrite functionality: workaround request

2023-07-09 Thread Francis Daly
a reason for the "rewrite, rewrite, return, proxy_pass" sequence instead of just using exactly "proxy_pass http://server:8081/;"; It looks like that should do what you want, so bugs in the handling of more complicated configs would not apply. Thanks, f -- Francis D

Re: NGINX 1.23.4 warning message

2023-06-29 Thread Francis Daly
is guaranteed). It is additionally letting you know of this possibly-unintentional config, so you can choose to leave it as-is (and get the warnings on startup) or you can choose to make it explicit that you know what settings apply to (this ip:port in) each server. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: duplicate ports across servers in nginx.conf

2023-05-31 Thread Francis Daly
(if no default_server was > defined)? > I'm not quite sure what you are asking: if it is about the code, it is not hidden and is quite readable; if it is about which server is default_server if none is explicit, then the documentation also describes that -- the "

Re: duplicate ports across servers in nginx.conf

2023-05-30 Thread Francis Daly
nly make sense when set once (or set the same each time, if they are set more than once); I don't know if you are hitting one of those cases? Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https

Re: Reverse proxy to forward proxy to internet access

2023-05-28 Thread Francis Daly
ow-up questions about your service: I would have imagined that there would be a bigger readership for a new thread, rather than hiding things in an unrelated thread; but whatever works for you is good. Cheers, f -- Francis Dalyfran...@daoine.org ___

Re: Reverse proxy to forward proxy to internet access

2023-05-27 Thread Francis Daly
le the "I don't control the upstream server" issues that usually arise; but it does not seem to be relevant to this thread. Am I missing something?) Thanks, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Reverse proxy to forward proxy to internet access

2023-05-27 Thread Francis Daly
ild a test nginx configuration based on those blogs, to see whether it works well enough for you, too. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Reverse proxy to forward proxy to internet access

2023-05-27 Thread Francis Daly
roxy_pass https://mypub/; } (plus the supporting configuration). So then you have a "normal" nginx proxy_pass setup for specific remote web servers. Which should Just Work like any other proxy_pass configuration. Good luck with it,

Re: Reverse proxy to forward proxy to internet access

2023-05-25 Thread Francis Daly
tock" nginx. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Separate location for files served by php-fpm

2023-05-24 Thread Francis Daly
eds. The important part is probably the "location" line that matches all-and-only these requests. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Separate location for files served by php-fpm

2023-05-15 Thread Francis Daly
on{} block that matches only the requests that you want, if that is possible. Thanks, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Adding 3rd party module not taking effect

2023-04-25 Thread Francis Daly
cal/nginx/sbin/nginx' Maybe try "/usr/local/nginx/sbin/nginx -V" to see if that is the newly-built binary? Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: situation with friendly urls

2023-04-10 Thread Francis Daly
ng does not work" is not enough of a problem report for further action. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: situation with friendly urls

2023-04-10 Thread Francis Daly
On Sun, Apr 09, 2023 at 04:08:30PM -0400, Rick Gutierrez wrote: > El dom, 9 abr 2023 a las 7:27, Francis Daly () escribió: Hi there, > https://netsoluciones.com > > This is the site, for example when I want to load the site in English > it doesn't do it, it doesn'

Re: situation with friendly urls

2023-04-09 Thread Francis Daly
/" request to be handled by serving a file from the filesystem; but that seems unrelated to php, friendly urls, and two languages. So if you can describe how you want one specific request to be handled, and can show how it actually is handled, maybe the first place where those two thin

Re: failure to limit access to a secure area with self-signed client SSL cert fingerprint match

2023-03-23 Thread Francis Daly
whatever is in intermediate_ca.ec.crt.pem. So I suspect that if you put the contents of those two files into a single file, and then refer to that either as ssl_client_certificate or as ssl_trusted_certificate, and do not use the other directive at all; then things might work more like you want.

Re: failure to limit access to a secure area with self-signed client SSL cert fingerprint match

2023-03-21 Thread Francis Daly
our config holds those certificates? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: failure to limit access to a secure area with self-signed client SSL cert fingerprint match

2023-03-21 Thread Francis Daly
gt; nginx What does the error_log say about this request and response? It looks like some part of your nginx/tls setup fails to verify the client certificate; maybe the debug or info log will hint at why. Good luck with it, f -- Francis

Re: Connecting a reverse proxy to an http proxy service

2023-02-25 Thread Francis Daly
otocol to be able to talk to upstream http proxy servers. I'm not aware of a third-party module that lets it work. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/ma

Re: FAQ Suggestions --- mapping to file, not folder?

2023-02-22 Thread Francis Daly
he file system. Is this possible? That is, is there a way to map one > specific URL to one specific file? location = /this-url { alias /var/www/that-file.txt; } Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing l

Re: Private location does not work

2023-02-20 Thread Francis Daly
tails; but on first glance it seems to be describing your current solution, rather than the problem. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: FAQ Suggestions

2023-02-20 Thread Francis Daly
roblem. I suspect that the issue is a misunderstanding of what "root" does -- http://nginx.org/r/root. That content also includes a link to "alias", which might be what you want, depending on what you want to have happen. Good luck with it, f

Re: FAQ Suggestions

2023-02-19 Thread Francis Daly
root /tmp/r; location /wth { root /tmp/w; index w.html; } } ``` then "curl http://localhost:10080/wth"; redirects me to http://localhost:10080/wth/; and "curl http://localhost:10080/wth/"; gets me the content of /tmp/w/wth

Re: Private location does not work

2023-02-19 Thread Francis Daly
o I ensure that a location{} can only be used for internal redirects/requests", then you want http://nginx.org/r/internal Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Question about proxy

2023-01-30 Thread Francis Daly
do see that some later text suggests that text/html content is always searched, so maybe being explicit about that in subs_filter_types is not necessary. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Question about proxy

2023-01-30 Thread Francis Daly
it is trying to do; and the second one probably does not need the regex parts at all -- the fifth and sixth ones probably both do the same thing as it. The third and fourth seem to have different ideas of how "https://www.perplexity.ai/something"; should be substituted; maybe you have

Re: module geoip2 with map directive

2023-01-21 Thread Francis Daly
lude line) to something like geo_country.map, so that the name does not match the other include directive pattern in your config. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx-1.23.3 on Win Server wth HTTPS

2023-01-18 Thread Francis Daly
that NGINX also accepts HTTPS connections? Have a "listen" with "ssl", and the correct certificate information. http://nginx.org/en/docs/http/configuring_https_servers.html Good luck with it, f -- Francis Dalyfran...@daoine.org ___

Re: Redirect www to not-www

2023-01-10 Thread Francis Daly
p www.a and http a in one block; or you could put https www.a and http www.a in one block; and then one block for the other, plus one for the https a that is the "real" config -- the other ones will be small enough configs that "just" return 301

Re: Redirect www to not-www

2023-01-10 Thread Francis Daly
est that you can reply to with a redirect. And since you do not (appear to) have a certificate for www.a.example.com, that validation will fail and there is nothing you can do about it. (Other that get a certificate.) Cheers, f -- Francis Dalyfran...@daoine.org __

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2023-01-09 Thread Francis Daly
state of a MySQL DB), then you need to indicate how your nginx will become aware of that status. (For what it's worth: if there is nothing new in your system since November / December, the suggestion remains "change your php to do this".) f -- Francis Daly

Re: Upstream service php-fpm is up and running but reports {"errors": {"status_code": 502,"status": "php-fpm server is down"}}

2023-01-06 Thread Francis Daly
errors": "MySQL DB Server is down"}'; } Whenever you make a request that is handled in that location{}, your nginx will return that response. It looks like your nginx is doing what it was told to do. No part of your config indicates that nginx knows (or cares) whether MySQL

Re: Is there a conflict between Debian Bullseye and nginx?

2022-12-16 Thread Francis Daly
other one fails. If you want both to be running, you must configure them to listen on different IP:ports from each other. This is normal. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org

Re: nginx returns html instead of json response

2022-12-01 Thread Francis Daly
n JSON format? The easiest is probably to see which part of the chain creates that error message (and I guess that it is probably some php); and to change it to return the error content that you want it to return. And then let everything else continue to pass the error content through without ch

Re: How can I redirect a request via Another External proxy

2022-12-01 Thread Francis Daly
thing other than nginx. (I'm not aware of any third-party modules that add the facility.) Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Use nginx to return a scraped copy of another site

2022-12-01 Thread Francis Daly
ose. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: nginx returns html instead of json response

2022-11-23 Thread Francis Daly
On Wed, Nov 23, 2022 at 11:27:35PM +0530, Kaushal Shriyan wrote: > On Wed, Nov 23, 2022 at 11:20 PM Francis Daly wrote: Hi there, > I am not sure about this line error_page 555 /dummyfile; what does 555 > code mean and what will be the contents of dummyfile? > > lo

Re: nginx returns html instead of json response

2022-11-23 Thread Francis Daly
an incomplete problem report. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: nginx returns html instead of json response

2022-11-21 Thread Francis Daly
hen you make this specific request, you get this specific response, but you want that other response instead. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: nginx returns html instead of json response

2022-11-18 Thread Francis Daly
On Fri, Nov 18, 2022 at 11:10:20PM +0530, Kaushal Shriyan wrote: > On Fri, Nov 18, 2022 at 9:37 PM Francis Daly wrote: Hi there, > Thanks Francis for your email response. Let me explain with two different > scenarios :- Yes, thank you. I believe that what you want is still all cl

Re: nginx returns html instead of json response

2022-11-18 Thread Francis Daly
On Fri, Nov 18, 2022 at 07:07:41PM +0530, Kaushal Shriyan wrote: > On Thu, Nov 17, 2022 at 10:57 PM Francis Daly wrote: Hi there, > Please let me know if you need any additional information and I look > forward to hearing from you. Thanks in advance. When the request is for "/

Re: Running ssl on custom port and its not working

2022-11-17 Thread Francis Daly
y chance that you are actually talking to a different web server entirely? Do your nginx server logs show this request being handled? (Or have I misunderstood something about this post?) Cheers, f -- Francis Dalyfran...@daoine.org _

Re: nginx returns html instead of json response

2022-11-17 Thread Francis Daly
On Mon, Nov 14, 2022 at 08:24:15PM +0530, Kaushal Shriyan wrote: > > On Fri, Nov 11, 2022 at 2:38 PM Francis Daly wrote: Hi there, > >> What one specific request do you want to make? (Maybe > >> http://mydomain.com/apis, maybe http://mydomain.com/api/v1/*, maybe > &g

Re: CGIT + NGINX : Not able to push commit

2022-11-17 Thread Francis Daly
re talking to something other than the nginx server you think you are talking to; and that other thing might be returning the 403. If you can test talking to nginx directly, then maybe something will show whether the 403 is coming from nginx, or is coming from the fastcgi server that nginx, in turn

Re: Rewrite rules not working

2022-11-11 Thread Francis Daly
On Fri, Nov 11, 2022 at 08:29:44AM -0500, blason wrote: Hi there, > By the way which one would you confirm is preferable method rewrite or > return? It depends, based on what you want to do. For what I think you want, in this case, "return" is simpler. f -- Francis

Re: nginx returns html instead of json response

2022-11-11 Thread Francis Daly
ant it to do. If you can give the full details for one example request, then maybe it will become clear to me. (And maybe others will be able to help too, if they are similarly confused.) Thanks, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Rewrite rules not working

2022-11-11 Thread Francis Daly
al/web1/"; if you prefer.) Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: proxy_pass works on main page but not other pages

2022-11-01 Thread Francis Daly
could also be related to what the initial request from the client was -- "/striker" and "/striker/" are different, and I suspect you should use the with-trailing-slash version in your config "location" line. But if you already have a working configuration, that's

Re: how can I cache upstream by mime type in nginx

2022-11-01 Thread Francis Daly
On Tue, Nov 01, 2022 at 10:07:37PM +, Francis Daly wrote: > On Wed, Nov 02, 2022 at 12:29:49AM +0800, Drweb Mike wrote: Hi there, > > My front end is nginx using reverse proxy work with my backend, I was > > trying to cache images files only, but it seems doesn

Re: how can I cache upstream by mime type in nginx

2022-11-01 Thread Francis Daly
.png, for example? It depends on what requests your clients will be making.) > why *$upstream_http_content_type* map doesn't works as expected Your expectation is wrong. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx m

Re: NGINX 1.21.x EOL?

2022-10-18 Thread Francis Daly
if the same problem can be shown in whatever version someone is using, there is a better chance that they'll be able to see if a config change can address the problem. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Installing two versions of PHP-FMP?

2022-10-11 Thread Francis Daly
ck; } but the extra details for how each application is installed and what it expects, will matter. (And that config fragment would need extra supporting config, in order to be useful.) Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Nginx does not serve avif

2022-10-07 Thread Francis Daly
r was requesting thing.jpg, and getting back content that was not a jpeg image, and was getting confused by that mismatch. My guess would have been wrong :-) Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.o

Re: Nginx does not serve avif

2022-10-06 Thread Francis Daly
r test config and my test config? And if so -- what is different between the curl request and the Firefox request? Thanks, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Nginx does not serve avif

2022-09-28 Thread Francis Daly
you want to get the file /var/www/dir/thing.avif, or the file /var/www/dir/thing.png.avif? The usual questions are: What request do you make? What response do you get? What response do you want to get instead? Cheers, f -- Francis Dalyfran...@daoine.org ___

Re: Impersonation in Nginx

2022-09-28 Thread Francis Daly
omeone else who can answer; but in case not, if you re-ask with an example, you might get a better answer. Thanks, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: forward 443 requests to correct (?) port

2022-09-19 Thread Francis Daly
suspect that you will want to omit ":8080" from the proxy_set_header. When you show one request and its response, it may become clear whether your current proxy_redirect setting is appropriate here. (And I do think that, in the past, wordpress was not happy being installed anywh

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

2022-09-19 Thread Francis Daly
http://gunicorn:8080/prefix/ ? Once the upstream / backend is in a known state, adding nginx in front should be more straightforward. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscrib

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

2022-09-16 Thread Francis Daly
rnally.) Fundamentally, both options should work, provided that the application does not use any internal links that start with "/". Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

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

2022-09-16 Thread Francis Daly
e the same in both the direct and reverse-proxied cases, so only the hostname/port would need adjusting. (Which is usually more straightforward.) (I'm presuming that it is possible to deploy a flask app somewhere other than the root of the web service.) Good luck with it,

Re: help with regex in nginx map

2022-09-15 Thread Francis Daly
ot match anything else: > map $string $redirct_string{ > "~^abc*$" 1; > } That regex will only match the strings "ab", "abc", "abcc", "abccc", etc, with any number of c:s. > I also t

Re: help with https to http and WSS to WS reverse proxy conf

2022-09-15 Thread Francis Daly
and include enough information in any report of a test, so that someone else will be able to repeat the test on their system to see what happens there. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: help with https to http and WSS to WS reverse proxy conf

2022-09-12 Thread Francis Daly
you should configure nginx to try to talk to. > Here is the interface being used: In this case: nginx is talking to an IP. It does not care what the physical interface is. (iptables and the like do care; but that part all looks good from here.) > Here are the iptables stats: If these rules block nginx from talking to the IP:port and getting the response, that will want fixing. Otherwise, it's good. > iptables -L -n -v These appear to say "accept almost everything; nothing has been dropped", so these rules are presumably not blocking nginx. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: negation in the map directive of nginx

2022-09-11 Thread Francis Daly
I doing this wrong? The map has 5 Zs. Your example has 4 Zs. But more interestingly: $client_id is not a standard nginx variable. How is it being set; and what test are you running? Presumably somewhere else in your config you have a "limit_req" directive, so that you can see the

Re: help with https to http and WSS to WS reverse proxy conf

2022-09-11 Thread Francis Daly
is where the loop is. So - proxy_pass to something that will return content. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: negation in the map directive of nginx

2022-09-08 Thread Francis Daly
r string(Z in this example)? Please let me know. Negative regexes can be hard; it's simpler to avoid them entirely. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: nginx not listening on port 443

2022-08-31 Thread Francis Daly
it to "include conf.d/*.conf" somewhere, or something like that? $ sudo /usr/sbin/nginx -T | grep '^# conf' should show you which configuration files are actually read; if the ones that you want / expect are not listed there, you'll want to change the config to include t

Re: Securing URLs with Secure Link + HLS

2022-08-31 Thread Francis Daly
e information needed; or by you changing your url layout so that the simple m3u8 file "just works". Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Securing URLs with Secure Link + HLS

2022-08-31 Thread Francis Daly
03 response? Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: location regex?

2022-08-04 Thread Francis Daly
> thereof) but can't seem to find the one that works correctly. The first location{} that you have looks correct to me, in normal nginx terms. If you can investigate the 400-request, maybe you can see whether the response came from nginx directly, or came from something later that involved th

Re: Proxy buffering query

2022-08-03 Thread Francis Daly
s 8k. If you want to set proxy_buffer_size to more than 14k, you must either also increase proxy_buffers (in number or size); or explicitly set proxy_busy_buffers_size to 28k or lower (while not being smaller than proxy_buffer_size). Hopefully this does not make things more confusing... Cheers,

Re: Questions about real ip module

2022-08-03 Thread Francis Daly
On Wed, Aug 03, 2022 at 02:58:59PM +0900, nanaya wrote: > On Wed, Aug 3, 2022, at 07:34, Francis Daly wrote: > > On Sat, Jul 30, 2022 at 05:13:52AM +0900, nanaya wrote: Hi there, > It looks like I tested it on location level. I guess it's similar behavior to > real_ip_he

Re: Proxy buffering query

2022-08-02 Thread Francis Daly
If you have told nginx to use 20 kB of buffers; then also telling nginx that it can have up to 40 kB of those buffers busy sending, is unlikely to be a correct config. I suspect that the error message is to ensure that you do not think that you have configured more buffers than you actually have. C

Re: Questions about real ip module

2022-08-02 Thread Francis Daly
ct. That might let you get the end result that you want today; if you want a future version to work in "the expected" fashion, then you'll want to convince someone that the cost of maintaining the new code to do that is less than the benefit of being able to do that. Cheers, f

Re: 2 x Applications using the same domain behind a reverse proxy

2022-07-26 Thread Francis Daly
n the request completed; and if that is not the one that you expected, then you'll want to investigate why. (The main disadvantage is: multiple files to search through, in case things were not handled as you expected.) Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Thanks for your help, Francis Daly

2022-07-23 Thread Francis Daly
On Sat, Jul 23, 2022 at 09:21:55AM +0100, Francis Daly wrote: > On Fri, Jul 22, 2022 at 11:41:25PM -0600, Jim Taylor wrote: Hi there, one update / possible correction: > > "N:  Skipping acquire of configured file 'nginx/binary-arnhf/Packages'  > > because the re

Re: Thanks for your help, Francis Daly

2022-07-23 Thread Francis Daly
quot; could be "re-install the operating system as the arm64 version". > Is this normal?  Do I need to do another do over? It is an informational message which basically says "now that I look, I'm not using anything from that source this time&qu

Re: 400 Bad request (spaces in request)

2022-07-22 Thread Francis Daly
d luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Problem with basic auth on nuxtjs frontend with wordpress backend

2022-07-22 Thread Francis Daly
uot;submit" or "go", the client should make a network request and the network page should show that request. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Reverse proxy forcing language in cookies

2022-07-22 Thread Francis Daly
o that you can know in advance if those requirements will change.) Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: update failure

2022-07-22 Thread Francis Daly
of "`"? (That's not exactly right, because of the _/- difference.) If that is what happened, then: edit the file /etc/apt/sources.list.d/nginx.list as root and change the line that has 'lsb-release to end in /debian bullseye ng

Re: Domains not working as expected with nginx

2022-07-08 Thread Francis Daly
Either configure a server block with ssl for secondarydomain.com; or make sure to only access secondarydomain.com over http. (And if something like wordpress redirects to https, make it stop doing that.) Hope this helps, f -- Francis Dalyfran...@daoine.org __

Re: Domains not working as expected with nginx

2022-07-08 Thread Francis Daly
ginx is listening on.) Hopefully the answers to those will make it clear what is happening, and what should be changed to make things happen the way you want them to happen. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: Reverse proxy to traefik

2022-07-08 Thread Francis Daly
on your use case, and I'm afraid that I do not know what your specific use case is. The short answer is: on a single IP:port, nginx either listens for stream, or for http, but not both. Cheers, f -- Francis Dalyfran...@daoine.org ___

Re: Reverse proxy to traefik

2022-07-06 Thread Francis Daly
On Tue, Jul 05, 2022 at 12:53:05PM +, Daniel Armando Rodriguez via nginx wrote: > El 2022-07-02 08:24, Francis Daly escribió: > > On Fri, Jun 24, 2022 at 04:23:54PM -0300, Daniel Armando Rodriguez > > wrote: Hi there, > > > Made this representation to illustrate th

  1   2   3   4   5   6   7   8   9   10   >