-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! On 01/10/18 19.32, Maxim Dounin wrote: > Hello! > > On Sat, Sep 29, 2018 at 08:29:56AM +0700, Dewangga Alam wrote: > >> Currently, I am using nginx-1.8.1 in production. And I need SPDY to >> works on nginx-1.14.0 co-exists with http/2. Because I still need SPD Y >> for compatibility, and for future deploymentby dewanggaba - Nginx Development
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Found a solution but need to confirm. Is it save to change : DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed -pie to DEB_LDFLAGS_MAINT_APPEND=-Wl,--allow-multiple-definition -pie Need advice. On 29/09/18 11.12, Dewangga Alam wrote: > Sorry, please ignore my previous patch file. The previous error was > reproduce-able using this attached patch. &gby dewanggaba - Nginx Development
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! On 11/10/2017 11:36 PM, rihad wrote: > Hello. Can I enable both brotli & gzip? Yeah sure, I was test it using this module https://github.com/google/ngx_brotli > brotli on; gzip on; > > with the idea to support both newer & older clients, but still not > do any kind of double compression. If the browser didn't suppoby dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! I got confused and no hint(s) about map directive co-exist with try_files directive. Is it right to think using map directive? Or any alternative? The goals is, I want to avoid many location like : .... snip ... index index.php; try_files $uri $uri/ /index.php?q=$uri&$args; root /var/www/api.domain.tld;by dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! On 04/03/2017 08:21 PM, sachin.shetty@gmail.com wrote: > Hi, > > We are testing using nginx as a file cache in front of our app, > but the contents of the proxy cache directory are readable to any > body who has access to the machine. [..] > Is there a way to encrypt the files stored in the proxy cache > folder so thby dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! I tried to use "stale-if-error=864000" and "stale-while-revalidate=864000" co-exist with "expires max;" directive. Is it possible? My configurations looks like : .... snip ... expires max; add_header Cache-Control "stale-while-revalidate=864000, stale-if-error=864000"; .... snip ... And header responby dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! On 03/03/2017 04:15 PM, abhipower.abhi wrote: > I am using nginx-1.10.3 as a load balancer. In my architecture, I > have two servers- > > Hostname - sal15062hkb152, IP Address - 172.15.54.116 Hostname - > sal15062hkb184, IP Address - 172.15.54.105 I want both should work > in active-passive mode with nginx. My applicationby dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! Yes I've force my system to read IPv4 first. But, just curios, why IPv6 upstream can't serve the traffic? If I access the IP Address using browser, it's normal. I am using Cent OS 7. On 03/01/2017 09:04 PM, Lukas Tribus wrote: >> Did anyone have a solution for this? I also have many of these >> errors logged because I am usingby dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! On 03/01/2017 12:15 AM, Maxim Dounin wrote: > Hello! > > On Tue, Feb 28, 2017 at 10:57:01PM +0700, Dewangga Bachrul Alam > wrote: > >> Currently I have problem with upstream with IPv6. For example I >> have an origin with subdomain >> dual-stack-ipv4-ipv6.xtremenitro.org. >> >> dual-stack-ipv4-by dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! Currently I have problem with upstream with IPv6. For example I have an origin with subdomain dual-stack-ipv4-ipv6.xtremenitro.org. dual-stack-ipv4-ipv6.xtremenitro.org IN A 192.168.1.1 dual-stack-ipv4-ipv6.xtremenitro.org IN AAAA 2001:xx:xx::1; My configuration are like this : $ nginx -V nginx version: nginx/1.11.10 built by gcc 4.8.5 201by dewanggaba - Nginx Mailing List - English
Hello! On 02/24/2017 07:33 PM, 0liver wrote: > We've recently started delivering image urls with query strings for > cropping, like > > http://images-camping.info/CampsiteImages/116914_Large.jpg?width=453&height=302&mode=crop > Try add: proxy_ignore_headers Cache-Control Expires; Ref: http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_ignore_headers >by dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! Thanks Francis, yes it's about 'Vary' header should be ignored on proxy_ignore_headers. Thanks for the hints. On 02/16/2017 07:41 PM, Francis Daly wrote: > On Thu, Feb 16, 2017 at 01:08:35PM +0700, Dewangga Bachrul Alam > wrote: > > Hi there, > >> proxy_cache_key "$uri$is_args$args"; >> >> locaby dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Example: $ curl -I "http://networksninja/artikel/berita/a-pen-by-hair" HTTP/1.1 200 OK Server: networksninja Date: Thu, 16 Feb 2017 06:48:13 GMT Content-Type: text/html; charset=UTF-8 Connection: keep-alive Vary: Accept-Encoding Vary: Accept-Encoding Set-Cookie: PHPSESSID=ddkfbo9jd6bhkhhbknkd4pq854; path=/ Expires: Thu, 19 Nov 1981 08:52:by dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! I've compiled latest nginx 1.11.10 with ngx_cache_purge, my configurations likes: proxy_cache_key "$uri$is_args$args"; proxy_cache_path /var/cache/nginx/proxy_cache levels=1:2 keys_zone=networksninja_cache:60m inactive=60m use_temp_path=off max_size=8192m; And location syntax is : location / { proxy_pass http://10.by dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! I have problem how to debugs current response time to upstream, my configuration is looks likes : .... upstream upstream_distribution { server full-fqdn.tld; } # common configuration location ~ \.(jpe?g|png|gif|webp)$ { proxy_pass http://upstream_distribution; proxy_cache_use_stale erroby dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! Is there any best practice or some example to see how brotli compression works? I've patch the nginx using ngx_brotli[1], but I didn't see any brotli header, there's only gzip. Many thanks. [1] https://github.com/cloudflare/ngx_brotli_module -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQI4BAEBCAAiBQJX7dqOGxxkZXdhbmdnYWJhQHh0cmVtZW5pdHby dewanggaba - Nginx Mailing List - English
Hello! On 08/22/2016 10:58 PM, rainer@ultra-secure.de wrote: > > nginx doesn't provide an auto-update mechanism that stupidly downloads > and accepts all and everything somebody makes available under some > spoofed address. You can use PGP key[1] to verified the binary was correct or "injected" or "spoofed". Anyway, nginx support auto-update mechanism using reposby dewanggaba - Nginx Mailing List - English
Hello steve! On 08/10/2016 10:47 AM, steve wrote: > Hi! > > On 08/10/2016 03:07 PM, Dewangga Bachrul Alam wrote: >> Hello! >> >> I am using module small_light >> (https://github.com/cubicdaiya/ngx_small_light), since the module can't >> detect which browser can process webp transformation, I creating a >> simple directive on nginx to detect chrome andby dewanggaba - Nginx Mailing List - English
Hello! I am using module small_light (https://github.com/cubicdaiya/ngx_small_light), since the module can't detect which browser can process webp transformation, I creating a simple directive on nginx to detect chrome and opera only and fallback the rest to jpeg/jpg. But, if the origin is not jpg (eg: png or gif), the directive transform it into jpg. The snippet looks like : map $http_user_agby dewanggaba - Nginx Mailing List - English
Hello! On 08/01/2016 04:19 PM, Andrew Hutchings wrote: > Hi Dewangga, > > I'm not quite sure what your desired outcome would be by connecting to > two servers at the same time for a single client but it won't work the > way you might think it will. My main goal is, want to build real-time backup mysql server, so the client will be sql insert to different machine at the same time.by dewanggaba - Nginx Mailing List - English
Hello! I got curios with load balancing algorithm, I got scenarios like this. I have 3 galera cluster, each cluster have 3 node and it was solved with stream module. Cluster1: Node1-Cluster1: 192.168.11.1 Node2-Cluster1: 192.168.11.2 Node3-Cluster1: 192.168.11.3 Cluster2: Node1-Cluster2: 192.168.12.1 Node2-Cluster2: 192.168.12.2 Node3-Cluster2: 192.168.12.3 Cluster3: Node1-Cluster3: 192.168.1by dewanggaba - Nginx Mailing List - English
Thanks Maxim, its works. :) On 07/28/2016 03:29 PM, Maxim Konovalov wrote: > Hi Dewangga, > > On 7/28/16 10:31 AM, Dewangga Bachrul Alam wrote: >> Hello! >> >> I've tried to build nginx 1.11.3 with --with-stream module parameter, >> but, attached below: >> > [...] > > That was already fixed. > > As a workaround you can add "--with-streby dewanggaba - Nginx Mailing List - English
Hello! I've tried to build nginx 1.11.3 with --with-stream module parameter, but, attached below: ... snip .. ../configure \ --prefix=%{_sysconfdir}/nginx \ --sbin-path=%{_sbindir}/nginx \ --conf-path=%{_sysconfdir}/nginx/nginx.conf \ --error-log-path=%{_localstatedir}/log/nginx/error.log \ --http-log-path=%{_localstatedir}/log/nginx/access.log \by dewanggaba - Nginx Mailing List - English
Hello! On 7/9/2016 10:23 PM, bai030805 wrote: > Hi Gurus > > My lab environment is > > Nginx IP: 192.168.16.206 > Four Web Server: 192.168.16.201-204 > > My nginx.conf is > > http { > upstream myapp1 { > server 192.168.16.201; > server 192.168.16.202; > server 192.168.16.203; > server 192.168.16.204; > } >by dewanggaba - Nginx Mailing List - English
Hello! On 02/26/2016 05:54 AM, dshe wrote: > I think dashboard is a great feature in nginx plus but I was wondering if it > can aggregate metrics from a cluster of nginx servers or each server has its > own dashboard. You can try amplify.nginx.com :) > Thanks > > Posted at Nginx Forum: https://forum.nginx.org/read.php?2,264857,264857#msg-264857 > > ____________________by dewanggaba - Nginx Mailing List - English
Hello! On 2/20/2016 4:07 PM, rsclmumbai wrote: > I've a nginx server on CentOS with PHP setup. > I'm trying to block direct access to .inc files > > I've added the following to nginx.conf > > location ~ /\.inc > { > deny all; > } > Have you try : location ~ \.inc { deny all; } > & restarted nginx. > > But I still able to access .incby dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! On 12/24/2015 04:28 PM, Maxim Konovalov wrote: > On 12/24/15 12:24 PM, Dewangga Bachrul Alam wrote: >> Sorry I forgot something, I'm using Nginx Plus R7. > > [...] > > Hi Dewangga, > > please open a support ticket. Our engineers will help you with > that in a minute. Re-send to nginx-plus support :) Thank yby dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Sorry I forgot something, I'm using Nginx Plus R7. nginx version: nginx/1.9.4 (nginx-plus-http2-r7-p1) built by gcc 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) built with OpenSSL 1.0.1e-fips 11 Feb 2013 TLS SNI support enabled configure arguments: --build=nginx-plus-http2-r7-p1 - --prefix=/etc/nginx/ --sbin-path=/usr/sbin/nginx - --conf-path=/etc/nginx/by dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! Currently my configuration looks like this : map $request_method $purge_method { PURGE 1; default 0; } map $arg_geoloc $bypass { default 1; 1 0; } # Exclude from cache # Expected URL http://domain.tld/ location = / { proxy_pass [..]; proxy_no_cache $bypass; proxy_cache_bypass $bypass;by dewanggaba - Nginx Mailing List - English
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello! I've tried Nginx Plus R7, but it come with openssl 1.0.1e which is doesn't support ALPN extension, is there any info to get ALPN extension? My box using CentOS 7 and using custom openssl 1.0.2d. $ openssl version OpenSSL 1.0.2d-fips 9 Jul 2015 Any info and hints are appreciated. Many thanks and happy holiday :) -----BEGIN PGP SIGNATURE----by dewanggaba - Nginx Mailing List - English