Re: Simple proxy_pass settings are invalidating/deleting multipart file data sent by POST

2018-10-06 Thread Francis Daly
t involved. That might help point at the problem, and see whether the solution is in nginx or elsewhere. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Proxy_pass url with a #

2018-10-06 Thread Francis Daly
ne to get past > this? # is usually not included in a url that is sent in a request to a web server. Can you describe what you want to achieve, and what you are currently doing? Perhaps that will make clearer how to make it happen. Cheers, f -- Francis Dalyf

Re: Proxy_pass url with a #

2018-10-08 Thread Francis Daly
at all? Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Simple proxy_pass settings are invalidating/deleting multipart file data sent by POST

2018-10-08 Thread Francis Daly
to look to prove that nginx is or is not at fault :-) > Right, it turns out nginx was working correctly, and the real problem is > somewhere in the web framework I am using. Good luck getting the problem fixed. Cheers, f -- Francis Dalyf

Re: Proxy_pass url with a #

2018-10-08 Thread Francis Daly
h. In nginx terms, that's auth_request -- http://nginx.org/r/auth_request If we can understand where in the sequence things fail first, maybe it will be clearer what needs to change in order to get things to succeed. Cheers, f -- Francis Dalyfran...@daoine.org _

Re: Proxy_pass url with a #

2018-10-08 Thread Francis Daly
ndows-server/;"; in your case. And hopefully the part with the # in the client-side url Just Works for you too. Glad you got it working, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Best practices for solving location issues

2018-10-08 Thread Francis Daly
say which location{} was chosen. Or adding something like return 200 "Location No. 9\n"; to each location{} block may be a short-term thing to confirm that you configured nginx the way you wanted to configure nginx. f -- Francis Daly

Re: Can't access OWA, OA and ActiveSync

2018-10-10 Thread Francis Daly
; if you must use some of those, then you may be much happier using a different product to do the reverse-proxying. Both "haproxy" and "nginx plus" appear to have some reports of being made to work. Good luck with it, f -- Francis Dalyfran...@daoine.org __

Re: https auto redirect to specific port

2018-10-10 Thread Francis Daly
43 listener-server block that does ssl and redirects to https://example.com:8080. Or, probably, change the current 443 listener-server block to redirect to https://example.com:8080 instead of to http://example.com. f -- Francis Dalyfran...@daoine.org

Re: sni hostname and request Host header mismatch

2018-10-11 Thread Francis Daly
n manipulate and compare those variables as is appropriate for your situation. Specifically: in an SNI-only server, if $host is not the same as $ssl_server_name, something funny is going on. f -- Francis Dalyfran...@daoine.org ___ nginx

Re: Nginx as Reverse Proxy for multiple servers binded to proxy using UNIX sockets - how to reached in LAN

2018-10-15 Thread Francis Daly
mately: for each server, run one nginx as user this-server-user, listening on a unix domain socket. Then run one nginx initially as user root, which does proxy_pass to the appropriate unix-domain-socket-server.) Have I missed something; or are you asking how to do it; or are you asking why

Re: Nginx as Reverse Proxy for multiple servers binded to proxy using UNIX sockets - how to reached in LAN

2018-10-16 Thread Francis Daly
ith the configuration that it was given. If you are running multiple nginx system-level processes, each one has its own idea of the virtual hosts from its configuration. With the above design, all of the "user" nginx instances have just one server{} block, while the "root&qu

Re: Nginx as Reverse Proxy for multiple servers binded to proxy using UNIX sockets - how to reached in LAN

2018-10-17 Thread Francis Daly
HP script and fastcgi server allow them to do. nginx is not involved except as (probably) an initial pass-through tunnel. If userP has access to turn off your fridge or reconfigure your nginx-main or send a million emails or read secret files on your filesystem, then the outsider will probably have access to do those things too. Only you can decide what level of risk you're happy with. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx as Reverse Proxy for multiple servers binded to proxy using UNIX sockets - how to reached in LAN

2018-10-23 Thread Francis Daly
sumed that it was good enough because other people were using it. I'm happy to use nginx for my purposes. One nginx which can read all relevant static files, plus one fastcgi server for each php application that I don't want to fully assess, is enough for me. >I reckon the information gathered so far put me in a quite good >position, doesn't it? I hope so. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx image_filter problem.

2018-10-26 Thread Francis Daly
odule is not available in the nginx being used. For a dynamic module, you must "load_module" it (http://nginx.org/r/load_module) to let nginx know that you want to use this module. f -- Francis Dalyfran...@daoine.org ___ nginx ma

Re: Problems with map + subfilter + proxy

2018-11-07 Thread Francis Daly
meone has any suggestion? sub_filter_types does not read variables. If you set the type to the string "$subfilter_allowed_content_type", sub_filter might take effect. (I haven't tested, since it is not a useful case, I think.) f -- Francis Dalyfran...@daoine.org _

Re: Exposing external JSON API in an Nginx custom path?

2018-11-11 Thread Francis Daly
sh service actually returns. From your example, you may want proxy_pass / /mesh/; Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Exposing external JSON API in an Nginx custom path?

2018-11-12 Thread Francis Daly
asonable not to make those available externally. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Debugging `try_files` with 404 as a last resort

2018-11-13 Thread Francis Daly
e name $document_root/index.php?$args (expanding the two variables) exist? If not, processing will continue until the uri or =code at the end of the argument list. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Debugging `try_files` with 404 as a last resort

2018-11-14 Thread Francis Daly
On Tue, Nov 13, 2018 at 08:30:08PM -0500, petecooper wrote: > Francis Daly Wrote: Hi there, > I think my question could perhaps be > worded: is there a `try_files` option where I can have $uri, then $uri/, > then `index.php` and finally `=404` if all else fails. I believe "no

Re: How to disable ipv6 in nginx?

2018-11-15 Thread Francis Daly
ed; but might resolve the immediate issue. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: logical or in location directive with regex (multiple location using same block)

2018-11-24 Thread Francis Daly
ouble-quotes\n"; } location ~ 'z' { return 200 "match single-quotes\n"; } and then make requests that include x, y, and z, and see if they are each processed in the location that you expect they should be. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Problems with cache by mime/type

2018-11-30 Thread Francis Daly
ree of the four above. (Alternatively: set $no_cache to 0 by default, and to 1 based on requests that you are happy to potentially have served from the cache.) > proxy_cache artifactory_cache; > proxy_cache_bypass $no_cache; >

Re: Problems with cache by mime/type

2018-11-30 Thread Francis Daly
was set to 1 previously, it will keep that value. If $no_cache was not set previously, nginx will check the map, and now potentially set $no_cache to 0. That is why your "proxy_no_cache" sees a different value depending on whether "proxy_cache_b

Re: Possible to use nginx as a proxy (like Squid)?

2018-12-07 Thread Francis Daly
among other things) a reverse proxy server. They are different things. If you want an easy proxy, you'll be much happier starting with something that is built to do that task. f -- Francis Dalyfran...@daoine.org ___ nginx mailing

Re: Can Nginx only cache reponse body while excluding some response headers?

2018-12-07 Thread Francis Daly
t do you want nginx to store in the cache, and what should nginx send to the client? same request from client to nginx; it is in the cache. What should nginx send to the client? The answer to that might make your question clearer. Thanks, f -- Francis Daly

Re: Re: Can Nginx only cache reponse body while excluding some response headers?

2018-12-07 Thread Francis Daly
uld avoid doing anything with the nginx cache; and all of the "header generation" logic would be on the upstream server. And it might be simpler than patching nginx, if that is what is necessary. Cheers, f -- Francis Dalyfran...@daoine.org

Re: Invalid character found in the request target on Confluence behind nginx

2018-12-10 Thread Francis Daly
s there is something there that caused the decoding, that can be changed. Possibly you can use something like "tcpdump" to see the actual requests, if the logs do not show the details. Good luck with it, f -- Francis Dalyfran...@daoine.org

Re: Invalid character found in the request target on Confluence behind nginx

2018-12-11 Thread Francis Daly
1:8090; f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Invalid character found in the request target on Confluence behind nginx

2018-12-11 Thread Francis Daly
ething. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Invalid character found in the request target on Confluence behind nginx

2018-12-11 Thread Francis Daly
You have one "/" in your config that should not be there. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: migrate fastcgi_split_path_info to uwsgi

2018-12-27 Thread Francis Daly
#x27;s > going on. You can continue to use fastcgi_split_path_info to set some variables. For uwsgi, you will need some uwsgi_param directives. You may want to edit whatever default "include" file you use, or perhaps write the directives directly. You will want to know

Re: NGINX not passing header to proxy

2018-12-31 Thread Francis Daly
8091; location / { return 200 "request: $request; userAccount: $http_useraccount\n"; } } == $ curl -H userAccount:abc http://127.0.0.1:8090/xyz request: GET / HTTP/1.0; userAccount: abc f -- Francis Dalyfran...@daoine.org

Re: NGINX not passing header to proxy

2019-01-02 Thread Francis Daly
ilar curl command that goes to your nginx that "fails"? Perhaps you can get your upstream server to show exactly what it gets in both cases, and you can spot the difference between the two. f -- Francis Dalyfran...@daoine.org

Re: NGINX not passing header to proxy

2019-01-02 Thread Francis Daly
ame way that the nginx request fails, that may point at the nginx config changes that will allow the nginx request succeed. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.ngin

Re: NGINX not passing header to proxy

2019-01-04 Thread Francis Daly
mailarchive. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: help needed : catch a url and use in a location block

2019-01-08 Thread Francis Daly
v_id ever appear outside of the query string, where a "location" could match it? If so, you may want to use $request_uri instead of $args. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: I need my “bad user agent” map not to block my rss xml file

2019-01-09 Thread Francis Daly
what request do you make to fetch your rss xml file? Do things change if you move the "root" directive out of the "location" block so that it is directly in the "server" block? f -- Francis Dalyfran...@daoine.org ___

Re: I need my “bad user agent” map not to block my rss xml file

2019-01-10 Thread Francis Daly
rent if you have regex locations in the config.) f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: share cookies between servers

2019-01-10 Thread Francis Daly
That part of your system is probably not nginx-provided C-code. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Use sub-url to identify the different server

2019-01-10 Thread Francis Daly
reted as a url, will be interpreted the way you want it to be. If the internal servers do not make that easy, it will probably not be easy for you. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Re: share cookies between servers

2019-01-12 Thread Francis Daly
two server{} blocks will be very similar. So either the "if" part should be in both servers, or in neither server. If your single-server config includes it, it should be included in the multi-server config too. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Use sub-url to identify the different server

2019-01-14 Thread Francis Daly
404. With my config, your browser should get a redirect to /site1/dir/, which has a chance of working.) f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Reverse proxy - variable

2019-01-15 Thread Francis Daly
ever > set $no_trailing_slash "http://172.31.17.123:8080";; > #proxy_pass $no_trailing_slash; #spins forever; Do you see a difference between using "proxy_pass $no_trailing_slash;" and "proxy_pass http://172.31.17.123:8080";? f -- Fr

Re: 404 Error

2019-01-16 Thread Francis Daly
ing { proxy_pass http://devserver; } You need to decide what requests you want nginx to send to the upstream devserver, and configure location{}s accordingly. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mail

Re: Use sub-url to identify the different server

2019-01-24 Thread Francis Daly
It is not nginx's job to edit the response body to change a link to /other into a link to /A/other. Instead, if serverA wants to be reverse-proxied to a sub-url, it is serverA-and-the-author's job to ensure that the response body contains a link to "other" or to "../other&qu

Re: Rate limiting for try_files

2019-01-27 Thread Francis Daly
ys be empty and so will not limit anything; "off" is a string to use as the zone name, "32k" is the minimum size allowed on my test machine (8x page size), and the "rate" is something that is odd enough that you will hopefully recognise if if things go wrong, and this *

Re: Nginx access log query string params per line.

2019-02-05 Thread Francis Daly
aram2 I think "no", using just stock nginx config. However -- is it acceptable to post-process the log file? tr '&' '\n' < access.log is one way to see what you want, without changing what nginx logs. f -- Francis Dalyfran...@daoine.or

Re: bypassing and replacing cache if origin changed - or purging cache when origin changed?

2019-02-05 Thread Francis Daly
ro. If you do not know whether the upstream content has changed or not, perhaps you could set a short "expiry" time within nginx, and use proxy_cache_revalidate to "refresh" the validity without re-fetching the content? Good luck with it, f -- Francis Dalyfra

Re: Server fails to start with unknown variable in log

2019-02-10 Thread Francis Daly
revious configuration file name is the one that uses it. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Use sub-url to identify the different server

2019-02-11 Thread Francis Daly
On Sun, Feb 10, 2019 at 10:21:22PM -0500, nevereturn01 wrote: Hi there, > Thanks for your suggestions. > The rule seems to work. Good to hear that it is working for you :-) Cheers, f -- Francis Dalyfran...@daoine.org ___

Re: Nginx - canot read icons in PHP

2019-02-22 Thread Francis Daly
the nginx access_log say about the matching request? If it does not correspond to your nginx server -- there is probably another thing that needs fixing first. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing l

Re: Advanced Rewrite request url to match the query string and normalization

2019-03-03 Thread Francis Daly
at any string that the browser might interpret as a url, will expand to the url that you want it to be. By that, I mean that if the response from http://www.example.com includes an "img src" of "/image.png" that gets back to the browser, what request will the browser make for t

Re: Nginx Proxy Buffer

2019-03-03 Thread Francis Daly
fers value in anyway has any > affect on nginx ? My reading of http://nginx.org/r/proxy_buffering suggests that proxy_buffers will not be used for that request. All the best, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: how to setup as caching reverse proxy for/rewritign global URLs

2019-03-03 Thread Francis Daly
k seeing if you can find the code that Internet Archive's memento proxy uses. I suspect that it is not "merely" clever nginx config; but it may give you an idea of the kind of things you will need to do in your version. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Advice in regards to configuration

2019-03-04 Thread Francis Daly
onnection forwarded to a > LAN IP. > "TCP" suggests "stream", which knows about an IP address and a TCP port. "location" and "subdomain" (host name) are features of http requests. Can you rephrase your request in the light of that? If so, perhaps t

Re: Advice in regards to configuration

2019-03-05 Thread Francis Daly
he connection proxied to 10.45.2.2:10101. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Protect against php files being send as static files

2019-03-05 Thread Francis Daly
the safest way to avoid external misconfiguration. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Advice in regards to configuration

2019-03-07 Thread Francis Daly
in the docs, and make sure you understand "map" and the content of the $ssl_preread_server_name variable. That will probably help you come to a working config more reliably. Good luck with it, f -- Francis Dalyfran...@daoine.org ___

Re: location redirect always with trailing slash... sometimes

2019-03-11 Thread Francis Daly
]+)/?$ https://ex2.org$1/ permanent; would only redirect requests of the form /word or /word/ Note in particular: a request for /foo/?id=7 will be redirected to /foo/?id=7, and not to /?id=7. So that does not match your third requirement as-stated. (I suspect that you want it to go to

Re: nginx directives geo and map behind proxy

2019-03-14 Thread Francis Daly
.0.0.3; remote: 127.0.0.1; real: 127.0.0.1; geo one; Have I misunderstood what you are doing? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Cookie HTTP Only & Secure

2019-03-14 Thread Francis Daly
e: header in the response from upstream to nginx? If you do not, your nginx config will not make a difference. If you do see it in the response from upstream to nginx, and do not see it in the response from nginx to the client, then there is something interesting going on. f -- Fra

Re: nginx directives geo and map behind proxy

2019-03-16 Thread Francis Daly
x.x.x.x and which lines show the real client IP address? That might help show what the actual incoming requests look like. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: File Downloads with reverse proxy

2019-03-16 Thread Francis Daly
ly the simplest config would be not to configure things specially, and just let the client decide what they want to download by using their "save link as" feature. I hope this points you in the right direction. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx can’t proxy client certificate authentication

2019-03-16 Thread Francis Daly
f that header comes in a request from nginx.) I do not know if the suggested haproxy config is possible. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: ngx_stream_log_module log_format not working

2019-03-17 Thread Francis Daly
tes_received ' > '$session_time "$upstream_addr" ' > '"$upstream_bytes_sent" "$upstream_bytes_received" > "$upstream_connect_time"'; > ... > } Switch the order of those directives and it shoul

Re: Nginx can’t proxy client certificate authentication

2019-03-17 Thread Francis Daly
xtra "nice-to-have", rather than a requirement, of course. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx directives geo and map behind proxy

2019-03-21 Thread Francis Daly
or me -- I get 429 in access.log. Can you show a small but complete config file and test requests that demonstrate the problem? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: nginx servers share session or cookies

2019-03-22 Thread Francis Daly
r you, add it to the place that creates (or causes to be sent to the client) the "Set-Cookie" http response header. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Re: nginx servers share session or cookies

2019-03-27 Thread Francis Daly
rse-proxy in front of both. With that, you would need some way of knowing which requests correspond to which back-end server, while using the same server name. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.or

Re: Is it possible to add milliseconds in error.log and also timestamps

2019-03-30 Thread Francis Daly
/nginx/conf/nginx.conf test is successful looks correct to me as-is; as does $ sbin/nginx -p nginx: option "-p" requires directory name Thanks, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://m

Re: Nginx FCGIWrap Perl: File Upload not working.

2019-04-04 Thread Francis Daly
you use @fastcgi anywhere else in your config, this change will break that. In that case, if the test succeeds, you can change things so that everything still works. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Only receiving an empty response with 200 status code when using CORS on Nginx 1.14

2019-04-04 Thread Francis Daly
d the response you get? "curl -v" is probably good to use. When I try something similar, just using an "echo" fastcgi script, I get the expected http response and content for GET, POST, and OPTIONS. Tested against nginx/1.14.0. f -- Fran

Re: map with preserving the URL

2019-04-08 Thread Francis Daly
stick with the single variable.) With this second option, you could also choose to move the "if($new)" stanza outside of "location /", and have it at server level. I don't think it is necessary; but it might be more efficient, depending on the fraction of requests that set the

Re: How fast and resource-consuming is sub_filter?

2019-04-17 Thread Francis Daly
see a problem, there is not a problem that you looked for. If you don't measure, then there is not a problem that you care about. Good luck with it! f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx reverse proxy redirection combinations

2019-04-17 Thread Francis Daly
if it came from this web server); while for tcp or udp ("stream"), nginx acts as a proxy (packet forwarder, with rewritten source/destination). That summary is incorrect, but hopefully close enough to allow you to gauge what might be doable. Good luck with it, f -- Francis

Re: your mail (GEO IP blocking)

2019-04-17 Thread Francis Daly
at, depending on your config, the thing that sets $geoip_country_code and the thing that sets $lan_ip may not be reading from the same value. So you'll probably want to make sure that they do, for consistency. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Weird problem cannot standup nginx on 443 ipv4

2019-04-26 Thread Francis Daly
and obviously-documented way that this specific problem could be auto-avoided or -alerted. Today, you probably don't need that work done, because you will remember to check for semi-colon if you ever see the same problem again. Great that you found and fixed the problem in

Re: what does "deny 0.0.0.1;" do

2019-04-26 Thread Francis Daly
put in your config. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: I need help with 403 forbidden

2019-04-28 Thread Francis Daly
the same as what is shown in the "server"-level configuration. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Cannot get secure link with expires to work

2019-05-06 Thread Francis Daly
uu5NsagF0hA_Z-OQg&expires=2147483647' (with &, and with the whole argument shell-quoted in '')? Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Capture clear text with Nginx reverse proxy

2019-05-06 Thread Francis Daly
are neither the ssl client nor the ssl server, the whole point of ssl is that you cannot see the plaintext.) f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: More than one host

2019-05-06 Thread Francis Daly
xy_set_header Host, the proper way to send it as "bugzilla.example.com" > so that Apache sees it coming on that server name to activate the correct > vhost? Yes, unless you share https certs on the same IP:port; in which case you need the extra config. Good luc

Re: Cannot get secure link with expires to work

2019-05-07 Thread Francis Daly
quest url". Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Web site not working on port redirection

2019-05-10 Thread Francis Daly
guration (page 8000 to 80): > > https://unix.stackexchange.com/questions/518085/accessing-nginx-behind-a-virtual-server-looses-port-number/518183?noredirect=1#5181833 to go to port 8000 instead of port 80. Untested by me, but it looks like it should work. Good luck testing it!

Re: Web site not working on port redirection

2019-05-10 Thread Francis Daly
response from that. Instead of automatic redirects going to http://name:port/place, they would just go to /place, and let the clients assume that the http://name:port part matches what the original url had. Good luck with it, f -- Francis Daly

Re: OSTicket configuration issues

2019-05-13 Thread Francis Daly
st who has the same problem in the future, when that other web site has been edited or removed. Thanks, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Web site not working on port redirection

2019-05-13 Thread Francis Daly
x the general case, but that might not matter for your specific case. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: split traffic

2019-05-22 Thread Francis Daly
stay on that one. That may not matter in this case. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Proxy Pass

2019-05-24 Thread Francis Daly
seful, if the IP address associated with def.com runs https services that require SNI. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Proxy Pass

2019-05-24 Thread Francis Daly
Does it use a single cert with multiple Subject Alternate Names; or does it use individual certs and SNI? Do you see what you expect when you run from Server1: curl -v -k -H Host:def.domain.com https://1.1.1.1/abc and curl -v -k -H Host:def.abc.com https://1.1.1.1/abc ? f -- Fra

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-07 Thread Francis Daly
an you show one request that you make that does not give the response that you want? Perhaps there is something unexpected in the way that the md5sum in the link is generated or calculated. f -- Francis Dalyfran...@daoine.org

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-07 Thread Francis Daly
uest URL: > http://86.180.184.242/hls/justin-timberlake/Justin_Timberlake_640_360_600.m3u8 > Request Method: GET > Status Code: 403 Forbidden That is what you configured your nginx to do, so it looks like it is worked as implemented -- but presumably not as desired. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-09 Thread Francis Daly
module. But you should probably start with what you want to achieve; and then see whether secure_link is the right answer. And then the mechanics of configuring nginx to do what you want can be sorted out afterwards. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx and 400 SSL error handling

2019-06-11 Thread Francis Daly
@error_ssl_495; Untested by me here, but http://nginx.org/r/error_page shows that you can add another argument with "=" to set the response code, or to change to the response code that the uri returns. Cheers, f -- Francis Daly

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-17 Thread Francis Daly
$arg_expires; secure_link_md5 "enigma$hls_uri$secure_link_expires"; if ($secure_link = "") { return 403; } if ($secure_link = "0") { return 410; } proxy_pass http://s3test.s3.amazonaws.com; } } Adjust to fit the rest of your requir

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-17 Thread Francis Daly
ylist.m3u8 and advertise that. Note that I have not tested any of this; so if you do get a confirmed-working config, I'm sure the list will be happy to see it for future reference. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-17 Thread Francis Daly
;\n"; to see what values the variables have when you are testing. You can use "curl" to make a test request and see whether the response is what you expect. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Securing URLs with the Secure Link Module in NGINX

2019-06-17 Thread Francis Daly
of $one, in this case. So - it is the regex engine that sets the value of $one (and $the_time, etc); and then "map" sets the value of $the_md5 to the current value of $one. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Getting 302 Response

2019-06-18 Thread Francis Daly
hat will make it clearer what configuration is appropriate. Cheers, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

  1   2   3   4   5   6   7   8   9   10   >