Re: Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-21 Thread Francis Daly
quot;, upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: > "fp-academy.in", referrer: "https://fp-academy.in/stage/"; (This does not address any of the nginx config; but it's simplest to fix one thing at a time. Maybe there is only one thing

Re: Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-21 Thread Francis Daly
030w, > %20https://fp-academy.in/stage/wp-content/uploads/2019/11/hp_slider_bg-1500x797.jpg > 1500w, > %20https://fp-academy.in/stage/wp-content/uploads/2019/11/hp_slider_bg-705x375.jpg > 705w" sizes="(max-width: 1600px) 100vw, 1600px" /> It

Re: Rewriting query string

2019-12-30 Thread Francis Daly
ded after them. """ > Can one also remove certain arguments from the query string this way? Not easily, this way. For that, you probably want either to use one of the embedded languages to manipulate things; or to use the module referenced in the other

Re: Wordpress not able to display theme properly - FastCGI sent in stderr: "Primary script unknown"

2019-12-30 Thread Francis Daly
e 20% was being > sent in the URL. And thanks for sharing the eventual fix -- that will probably help the next person with the same issue. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailm

Re: Multiple host in request

2019-12-30 Thread Francis Daly
es nginx generate this outgoing Host: header?", or "why does nginx not handle this incoming Host: header the way I want it to?", or something else entirely. Cheers, f -- Francis Dalyfran...@daoine.org ___ ng

Re: Multiple host in request

2020-01-02 Thread Francis Daly
in one location{} block, that presumably uses "proxy_pass". There may also be "proxy_set_header" directives, possibly from an "include", and possibly inherited into this location{}. The config may show where the unwanted part is being introduced. Cheers, f -- Fr

Re: nginx removes strong etags on gzip compression

2020-01-02 Thread Francis Daly
ased manipulation to make things work the way that you want. I suspect that either of those is likely to be more work in the long run than fixing the upstream. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Force 302 to 301 redirect

2020-01-10 Thread Francis Daly
php code say "send a 301" or "send a 302"? Can you change it to say "send a 301", if you want a 301? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Force 302 to 301 redirect

2020-01-11 Thread Francis Daly
{" add if ($slug_city) { return 301 /location/$slug_city; } That may or may not be clearer to whoever is going to maintain the system in the future. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: filter to modify upstream response before it is cached

2020-01-13 Thread Francis Daly
of your body filter is cached by the first nginx. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Server

2020-01-25 Thread Francis Daly
haps the service was not running; perhaps it was blocked by a firewall; perhaps it was overloaded and protected itself by blocking the connect attempt. The logs for the port-3000 service might give more a hint of why nginx failed to connect then. Good luck with it,

Re: Help please

2020-01-29 Thread Francis Daly
on IIS, then it will not work through any proxy or reverse proxy (unless it has specific ntlm support). Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: net::ERR_CONNECTION_REFUSED . How to correctly configure Nginx with Socket.io?

2020-01-29 Thread Francis Daly
request that gets a response that you do not want, that may help make it clear where the problem is. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: net::ERR_CONNECTION_REFUSED . How to correctly configure Nginx with Socket.io?

2020-01-30 Thread Francis Daly
st, then that should be changed in vue. I suspect that almost anything in the vue config that mentions localhost, should be removed. But vue people may be a better source of information there. Good luck with it, f -- Francis Dalyfran...@daoine.org

Re: Help please

2020-01-30 Thread Francis Daly
. That comes from the following (lines removed): > autocomplete="off" > > aria-label="username" tabindex="1" autocapitalize="none" /> > type="p

Re: net::ERR_CONNECTION_REFUSED . How to correctly configure Nginx with Socket.io?

2020-01-31 Thread Francis Daly
ests. What does "curl -vk" show? That will make a GET request. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: rewriting $arg into request.

2020-01-31 Thread Francis Daly
uot;return" line to include "https://this-server$hugo_url";, if you want that.) (If all of your "old" requests have the same content from the first / to the ?, then you could choose to isolate the "if" within the matching "location = /" block for efficie

Re: rewriting $arg into request.

2020-01-31 Thread Francis Daly
t file -- I think that the request "/?p=1234" serving the content of the file "/usr/local/nginx/html/?p=1234" is unlikely to be an initial default in many web servers. Hopefully you now have a system that works for you and needs no ongoing maintenance. Cheers,

Re: net::ERR_CONNECTION_REFUSED . How to correctly configure Nginx with Socket.io?

2020-01-31 Thread Francis Daly
nt, invites the browser to try to access localhost. *That* is the thing that needs to be changed. If you can see where it is, then maybe it will be clear how to change it. Good luck with it! f -- Francis Dalyfran...@daoine.org ___

Re: net::ERR_CONNECTION_REFUSED . How to correctly configure Nginx with Socket.io?

2020-01-31 Thread Francis Daly
d some nginx proxy_redirect lines; or you need to change the vue setup to never use the word "localhost". Or maybe both. If you can show where the word "localhost" appears in the response to the request for ggc.world, it may be clearer where the change should be made. f --

Re: right config for letsencrypt

2020-02-02 Thread Francis Daly
nd, presumably, send it to nginx). f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: net::ERR_CONNECTION_REFUSED . How to correctly configure Nginx with Socket.io?

2020-02-02 Thread Francis Daly
that it (probably) asks for /sockjs-node/info instead. Exactly how to do that is probably in the vue documentation. I see no evidence of a nginx config problem here, so far. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: error code 494

2020-02-03 Thread Francis Daly
t* 400, you can do error_page 494 =400 /my4xx.html; or, possibly for the specific case of 494, error_page 494 =431 /my4xx.html; Hope this helps, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx's sub_filter does not replace paths in CSS and JS

2020-02-06 Thread Francis Daly
eems to work for me. Can you show one request and the matching incorrect response? Small is good; something like curl -v http://examplesite.com/new/a.js should work -- the matching file a.js in the 172.22.3.16:8000 document root should have suitable content. curl -v http://172.22.3.15/a.

Re: Nginx Valid Referer - Access Control - Help Wanted

2020-02-06 Thread Francis Daly
liably. If "unreliable" is good enough for you, then carry on. Otherwise, come up with a new requirement that can be done. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Error during nginx restart

2020-02-09 Thread Francis Daly
quot;| grep include" or "| grep '^# con'" -- to see what file are read. Without a working config file, something like "grep include nginx.conf" can show the first set of extra files that will be read. Duplicates there are probably bad. Good luck with it,

Re: ‘ngx_libc_crypt’ error: implicit declaration of function ‘crypt’

2020-02-09 Thread Francis Daly
ing for crypt() in libcrypt ... found There is more information (probably) in objs/autoconf.err Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: net::ERR_CONNECTION_REFUSED . How to correctly configure Nginx with Socket.io?

2020-02-12 Thread Francis Daly
here, other than what was previously mentioned. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: fast-cgi Oddness

2020-02-18 Thread Francis Daly
/x/wordpress/wp-admin/index.php in the first case, and /x/wordpress/load-styles.php in the second. Why do the first rewrites exist? Are they breaking your setup? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx php reverse proxy problem

2020-02-18 Thread Francis Daly
you might be happier still, replacing the three lines with something like try_files $uri $uri/ /site/index.php; which is the usual nginx way to "fall back" to php processing. Good luck with it, f -- Francis Dalyfran...@daoine.org __

Re: Nginx Valid Referer - Access Control - Help Wanted

2020-02-20 Thread Francis Daly
On Wed, Feb 19, 2020 at 06:30:39PM -0500, AshleyinSpain wrote: > Francis Daly Wrote: > > On Thu, Feb 06, 2020 at 06:02:50PM -0500, AshleyinSpain wrote: Hi there, > > > I am trying to block direct access to any URL with a directory > > /radio/ > > > > > &g

Re: Nginx php reverse proxy problem

2020-02-20 Thread Francis Daly
meters in the php config of my server that I need > to change? Maybe. But guessing may not be the most efficient way to resolve the problem. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx location - Distinguish requests by arguments or queries

2020-02-25 Thread Francis Daly
be-blocked" requests get to your back-end. Adjust to taste based on testing. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx location - Distinguish requests by arguments or queries

2020-02-26 Thread Francis Daly
On Tue, Feb 25, 2020 at 05:06:15PM +, Francis Daly wrote: > On Tue, Feb 25, 2020 at 07:05:05AM -0500, stmx38 wrote: Hi there, two corrections to my suggestion... > > For location /test we should permit only POST, for /test?doc we should > > permit only GET methods. &

Re: Deploying django, channels and websockets with nginx and daphne

2020-02-26 Thread Francis Daly
that to "proxy_pass http://django;"; is probably the best first step. Maybe there won't need to be a second step! Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx location - Distinguish requests by arguments or queries

2020-02-27 Thread Francis Daly
and allow without > args a then default value is applied. Maybe you can provide more details > here. Yes, the order is important. Per the docs: the first matching regex is the regex that counts. So - if you have some things which are subsets of some other thin

Re: Does nginx support multiple http {} blocks?

2020-02-28 Thread Francis Daly
ginx.conf:8 nginx: configuration file /usr/local/nginx/conf/nginx.conf test failed So - no. Is there a reason why you might want that? Perhaps the thing that you want to achieve can be done some other way? Cheers, f -- Francis Dalyfran...@daoine.org _

Re: Webdav error accessing with Finder

2020-03-11 Thread Francis Daly
n to the server "xxx.it" > Contact the system administrator for more info. What do the nginx access log and the nginx error log show when this happens? Perhaps that will help show where the first problem is. (Perhaps the dav_ext_methods directive should be uncommented?) Cheers,

Re: Sub-Filter auf SignalR ASP.NET Core Hub

2020-03-11 Thread Francis Daly
oes proxy_pass to something else, does *that* do something different with a GET and a POST? Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: How to establish secure connection between NGINX <-> https upstream API

2020-03-13 Thread Francis Daly
tps://backend.example.com:443/getsomething";, host: "nginx_server_ip" I believe that that says that nginx (as the client) does not accept the certificate provided by the server at backend.example.com; probably due to nginx's proxy_ssl_tru

Re: Unable to see a php page

2020-03-15 Thread Francis Daly
://localhost/index.php, not http://localhost/public_html/index.php. But that will only matter after the current error is resolved. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: How to fix ERR_RESPONSE_HEADERS_TRUNCATED error

2020-03-15 Thread Francis Daly
http to it. > nginx version: nginx/1.13.5 > Can anyone help me in this regard how to fix this issue? Either - make your port 6667 listener use http, not https; or tell nginx to talk https to it. f -- Francis Dalyfran...@daoine.org __

Re: Unable to see a php page

2020-03-15 Thread Francis Daly
side (and the error log, possibly in debug mode for the test), to see what nginx did with the request that involved it *not* making the fastcgi_pass request. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing l

Re: Question about root path for php-fpm

2020-03-20 Thread Francis Daly
s that you are mixing different conventions. That is perfectly fine; nginx does not care what you do, so long as you can tell it what you want it to do. To simplify things, I suggest you put *everything* that you care about in public_html, and use that as the only "root" set at "server

Re: Establish TCP connection to upstream when client connection made to listener

2020-03-20 Thread Francis Daly
pecific test case that shows this problem? == stream { server { listen 9001; proxy_pass 127.0.0.3:22; } } == and "ssh -v -p 9001 localhost" would seem to indicate that it Just Works. Perhaps my testing is wrong? f -- Francis Dalyfran...@daoine.org ___

Re: Strange log output from access.log

2020-03-20 Thread Francis Daly
ine for a request that has a silly-long referer: header. Is this the only such line in your log file? Can you track previous requests from this same browser/user to see if there is a real problem that you can address? Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Unable to see a php page

2020-03-20 Thread Francis Daly
ml as the document root for requests that end in .php. The request /js/dragdrop.js is not handled in this location. The configuration in, or inherited into, the location that handles that request is the one that matters. And that, presumably, has /home/ubuntu/htdocs as the configured

Re: Error 512 after nginx setup

2020-03-20 Thread Francis Daly
quot;curl -v") to make the request? That is less likely to hide important information. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: 2 locations, 2 _different_ cache valid settings, but same cache & pass-through

2020-03-27 Thread Francis Daly
(At least, not without writing your own special-case caching system.) What is the thing that you want to achieve? Perhaps there is an alternate way to get to the same desired end result. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx load balancing to keep sessions between IIS servers

2020-03-27 Thread Francis Daly
for you to make sure that server1 and server2 both have the same shared idea of a session, so that the same cookie sent to either server will end up with the same response. And there is nothing the nginx can do about arranging that. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: svg broken !

2020-03-27 Thread Francis Daly
igin ndoe loads it fine. What is the difference in the output between requests like curl -i http://nginx-server/example.svg and curl -i http://origin-server/example.svg ? That difference might hint where the problem is caused. f -- Francis Daly

Re: svg broken !

2020-03-27 Thread Francis Daly
Presumably -- it will be one of the things that is different between the "good" and the "bad" responses.) Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: svg broken !

2020-03-31 Thread Francis Daly
er should not be the case, if you are using the same client to access both urls -- it should be getting the same content in both cases.) You may want to investigate why your nginx is sending duplicate headers. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Empty file "off" under /usr/local/nginx/

2020-04-07 Thread Francis Daly
ably thinking that you are disabling the facility instead. Perhaps "error_log off;" is used? nginx -T | grep off may show it; then repeating "nginx -T" and finding the context should show you which file/line is involved.

Re: auth_request with vhost conf files

2020-04-08 Thread Francis Daly
" and/or "proxy_set_header" and friends, to ensure validation work as it should. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: auth_request with vhost conf files

2020-04-08 Thread Francis Daly
On Wed, Apr 08, 2020 at 05:12:59AM -0400, lsces wrote: > Francis Daly Wrote: Hi there, > > I'm not quite sure where "the thing that handles the /auth/auth.php > > request" is running. "proxy_pass" is for "something other than this > > serv

Re: auth_request with vhost conf files

2020-04-14 Thread Francis Daly
that does what you need it to. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Rewrite -- failure

2020-04-14 Thread Francis Daly
non-trivial to reverse-proxy a service at a different places in the url hierarchy from where the service believes it is located. Sometimes a different approach is simplest. > server { > > # automatically sets to https if someone comes in on http > listen 80; > listen 8

Re: Nginx wp-admin access control

2020-04-16 Thread Francis Daly
may be simpler to maintain that list twice than to use another "include" file. If you are happy to test and report what fails, then it should be possible to end up with a suitable config. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx Lowercase URL and Redirection

2020-04-19 Thread Francis Daly
ing; or change the return line to be return 307 $scheme://$host$my_uri_to_lowercase$is_args$args; http://nginx.org/r/$is_args and http://nginx.org/r/$args for details. Good luck with it, f -- Francis Dalyfran...@daoine.org _

Re: Websocket (wss) connection issue (status 200 instead 101) between two nginx systems

2020-04-19 Thread Francis Daly
proxy_set_header Origin ""; > proxy_pass https://192.168.1.20:80/; > auth_basic off; > } I don't actually know if a websocket connection will pass cleanly through two reverse proxies. I guess this is

Re: Websocket (wss) connection issue (status 200 instead 101) between two nginx systems

2020-04-22 Thread Francis Daly
the list; that will hopefully help the next person with the same problem find it more quickly :-) Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: SSL and port number [was: Rewrite -- failure]

2020-04-22 Thread Francis Daly
https not http. You can have both "listen" directives in the same server{}, but you still must use the correct protocol on each port, or there will be errors. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list ngi

Re: Using NGINX as reverse proxy to webmin on a remote server

2020-04-25 Thread Francis Daly
etc/webmin/config on host2 and then change your config to only use one trailing slash like so: location /host1/ { proxy_pass https://host1.local.domain:1; And if there is still a problem, if you can show the request/response that does not do what you expect, it may be simpler

Re: SSL and port number [was: Rewrite -- failure]

2020-04-29 Thread Francis Daly
On Tue, Apr 28, 2020 at 02:56:09PM -0400, Paul wrote: > On 2020-04-22 3:14 a.m., Francis Daly wrote: Hi there, > Thanks. I have the two sites "mostly" working now (full config below), but > could you please expand on your comment ""listen 8001 ssl;" means that

Re: AW: Using NGINX as reverse proxy to webmin on a remote server

2020-04-29 Thread Francis Daly
sever on my Nginx hostsystem. Not on vml32. > I suspect that that is because you used the line proxy_set_header Host $host; When the rest is working, you can perhaps try to log in using credentials that are different on the two servers, and see which lets you in.

Re: Ngix reverse proxy pass authentication IIS

2020-05-12 Thread Francis Daly
do you want? * what response do you get instead? Possibly there will be something interesting in the IIS server logs too. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Static files

2020-05-12 Thread Francis Daly
On Mon, May 11, 2020 at 10:24:49AM -0400, MarcoI wrote: Hi there, > I'm trying to figure out how to load static files . What request do you make? What file on your filesystem do you want nginx to return, in response to that request? f -- Francis Dalyfran...@da

Re: Conditionally removing a proxy header

2020-05-14 Thread Francis Daly
the header. And "always" is because you probably only get the WWW-Authenticate on a 401 response. http://nginx.org/r/map http://nginx.org/r/$upstream_http_ http://nginx.org/r/add_header (Note the standard caveats about directive inheritance, particularly regarding add_header, if

Re: Passing a special Magento URL to PHP-FPM

2020-05-15 Thread Francis Daly
pm_backend; > break; > } > } Maybe does not matter here; presumably the person who published the config believes it is necessary. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: How nignx handled the header to the client in this situation

2020-05-15 Thread Francis Daly
hen if the response is http 200 plus half the intended body, that is what the client will get. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: SSL_ERROR_BAD_CERT_DOMAIN

2020-05-15 Thread Francis Daly
mething I consider a problem.) Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: editing a general location match to exclude one, specific instance?

2020-05-15 Thread Francis Daly
cluding proxy_pass } You could use "location ^~ /api/configuration", if you want to allow anything with that prefix. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: How nignx handled the header to the client in this situation

2020-05-16 Thread Francis Daly
m wondering if nginx can > postpone the sending of upstream header in any ways? Can you show the request that you make and the response that you get that is not the response that you want? Good luck with it, f -- Francis Dalyfran...@daoine.org __

Re: `if` or `include` for mode-specific `server` directives?

2020-05-16 Thread Francis Daly
from an > Nginx point of view? Objectively, using run-time variable substitution means that nginx does more work on every request than it would do without that. And nginx testing one or two extra "if" statements on every request means that nginx does more work than it would do with

Re: Passing a special Magento URL to PHP-FPM

2020-05-19 Thread Francis Daly
Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Conditionally removing a proxy header

2020-05-26 Thread Francis Daly
er; but it sounds like it works well enough as-is. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Quick question on NGINX cache

2020-05-28 Thread Francis Daly
t;index.php". If that does not show the problem -- can you show the response headers coming from upstream to nginx? That might indicate if the pages are not being cached by nginx. Cheers, f -- Francis Dalyfran...@daoine.org ___ ng

Re: Access to XMLHttpRequest has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

2020-05-28 Thread Francis Daly
-Control-Allow-Origin’ header is present on the requested > > resource. In your "drupal" nginx config, if the request is handled in the "php" location, there is no Access-Control-Allow-Origin header added. You might want the "add_header" line there instead. G

Re: Access to XMLHttpRequest has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

2020-05-28 Thread Francis Daly
On Thu, May 28, 2020 at 08:16:43PM +0530, Kaushal Shriyan wrote: > On Thu, May 28, 2020 at 6:11 PM Francis Daly wrote: > > On Thu, May 28, 2020 at 12:50:34PM +0530, Kaushal Shriyan wrote: Hi there, > > In your "drupal" nginx config, if the request is handled in the &qu

Re: [error] 18#18: *72 upstream timed out (110: Connection timed out)

2020-05-29 Thread Francis Daly
proxy_pass http://prd_exemple_teste; > proxy_read_timeout 60s; Maybe make that bigger than 60s. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: proxy_ssl_verify error: 'upstream SSL certificate does not match "test.example.com" while SSL handshaking to upstream', for CN/SAN 'matched' client & server certs ?

2020-06-02 Thread Francis Daly
her directive is probably a bad idea, especially if you get a http 421 response from your upstream? Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: proxy_ssl_verify error: 'upstream SSL certificate does not match "test.example.com" while SSL handshaking to upstream', for CN/SAN 'matched' client & server certs ?

2020-06-04 Thread Francis Daly
On Tue, Jun 02, 2020 at 10:22:06PM +0300, Maxim Dounin wrote: > On Tue, Jun 02, 2020 at 04:27:28PM +0100, Francis Daly wrote: Hi there, Thanks for the extra information. > > That suggests that if you choose to use "proxy_ssl_server_name on;", > > then you almost cer

Re: Testing the performance of NGINX for both http and https traffic.

2020-06-19 Thread Francis Daly
vestigate measuring tools for your system, while waiting to see if there is a more specific answer provided on the list. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: .htaccess

2020-06-30 Thread Francis Daly
p; } That looks like it is probably the "standard" close-enough equivalent; but obviously some part of it does not work in this case. > And none works What request do you make? What response do you get? What response do you want to get instead?

Re: X-Accel-Redirect not redirecting to named locaiton

2020-07-01 Thread Francis Daly
t you want. What response do you get? Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Found Nginx 1.19.0 stopped but no idea what happened

2020-07-02 Thread Francis Daly
can lead to subtle problems. ModSecurity-nginx is, I think, not a stock-nginx module. What other modules are you using? Often the nginx config can help identify a problem too; it is not clear to me if that will help in this case. Good luck with it, f -- Francis Dalyfran...@d

Re: Nginx as reverse proxy mail server host

2020-07-02 Thread Francis Daly
design has the client and the server speaking the same protocol with each other. An alternative way of proxying smtp is described at https://docs.nginx.com/nginx/admin-guide/mail-proxy/mail-proxy/ Good luck with it, f -- Francis Dalyfran...@daoine.org ___

Re: Nginx as reverse proxy mail server host

2020-07-04 Thread Francis Daly
mail_*" modules are grouped together. For a lot of this, if the documentation is unclear, you may be better off building a test system and seeing what happens when you try things. If that results in the unclear documentation being made clear, that is good. Good luck with it,

Re: CORBA IIOP reverse proxy on nginx

2020-07-05 Thread Francis Daly
ork with minimal extra configuration. If the protocol is more complicated, then there may need to be a protocol-specific module involved. A quick web search does not show me any obvious corba-related nginx modules. Good luck with it, f -- Francis Dalyfr

Re: SSL over UDP - Nginx as reverse proxy

2020-07-05 Thread Francis Daly
that if you want to report on how that patch works for you -- being aware that it was written for an older version of nginx, so possibly will not apply as-is to the current version -- and/or describe your specific use case, then there may be someone willing to updat

Re: Found Nginx 1.19.0 stopped but no idea what happened

2020-07-07 Thread Francis Daly
ed just before your nginx stopped responding? That might help make a reproduction case, which might in turn help isolate where the problem is. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org

Re: Force SSL redirection to target service host for all protocols

2020-07-08 Thread Francis Daly
ot; traffic-forwarder (as "stream" mostly is) will probably not be able to reliably proxy things that use my protocol. For the specific protocols you care about: can they be proxied? I suspect that the list will be interested in the results of your testing, if you are w

Re: Found Nginx 1.19.0 stopped but no idea what happened

2020-07-09 Thread Francis Daly
m yourself? Good luck with the investigations! (Presuming that the update to 1.19.1 didn't make it all just start working.) f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Force SSL redirection to target service host for all protocols

2020-07-14 Thread Francis Daly
. > Nginx Conf: > > stream { > upstream backend { > server backend1.example.com:12345; >} > > server { > listen 8091; > proxy_pass backend; > proxy_ssl on; Match the

Re: Help with filter module

2020-07-14 Thread Francis Daly
> I would really appreciate any type of help. I suspect that people who are able to help, will find it easier to help if they have a full clear question, possibly with sample code. Cheers, f -- Francis Dalyfran...@daoine.org ___ ngin

Re: nginx plus - purge multiple URLs in one request

2020-07-14 Thread Francis Daly
will auto-expire without needing to be purged? Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Force SSL redirection to target service host for all protocols

2020-07-14 Thread Francis Daly
f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: X-Accel-Redirect not redirecting to named locaiton

2020-07-19 Thread Francis Daly
some of "reply.responseBody" from the first subrequest as part of the second subrequest. Maybe that can be adapted to what you want? Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.or

Re: How to connect Remote shared folder with password

2020-07-19 Thread Francis Daly
d by a remote service, then you'll need to make sure that your nginx can speak whatever protocol your remote service speaks. Often that is http, using nginx's proxy_pass directive. (Although in that case, nginx isn't accessing files; it is receiving the response of a http request

<    1   2   3   4   5   6   7   8   9   10   >