Re: Mirroring The NginX Repo Locally

2024-02-17 Thread Jore
On 18/2/24 3:47 pm, duluxoz wrote: What's the best way to arrange for a local mirror of the NginX Repository: rsync, wget/curl, some other way? How about: hg clone https://hg.nginx.org/nginx/ Or: git clone https://github.com/nginx/nginx.git ? __

Re: announcing freenginx.org

2024-02-14 Thread Jore
Thank you all for all your great work!!! ___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Re: Can I rewrite https to http?

2023-08-14 Thread Jore
tificate anyway... Jore On 14/8/23 11:56 pm, baalchina wrote: Hi all, I had an nginx as a reserve proxy, with many web sites behind. And the nginx listen in 443(https) and 80(http). But not all my sites behind support https, so in some sites ,I only listen 80, like this: /    server {

Re: Regex match the middle of a URL and also the ending?

2023-06-04 Thread Jore
Hi there, Yes, all that was /very/ helpful, thank you!!! Much appreciated, Jore On 4/6/23 10:09 am, Maxim Dounin wrote: The most important part is in the following paragraph: A location can either be defined by a prefix string, or by a regular expression. Regular expressions are

Re: Regex match the middle of a URL and also the ending?

2023-06-03 Thread Jore
verflow.com/questions/76396334>. Not to take this conversation away from this list, but since your answer was helpful, feel free to chime in there too if you’re looking for some upvotes :) Thanks, Jore ​___ nginx mailing list nginx@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx

Regex match the middle of a URL and also the ending?

2023-06-03 Thread Jore
location ^~ /browser { proxy_pass http://127.0.0.1:1234; proxy_set_header Host $http_host; } # landing page location / { root /var/www/foobar; index index.html; try_files $uri $uri/ /index.html; } | Thanks, Jore ​ ___ nginx mailing list nginx@nginx.org https

Re: Error downloading regex-tester

2022-06-22 Thread Jore
Good luck Jore On 23/6/22 4:00 am, Saint Michael wrote: git clonehttps://github.com/nginxinc/NGINX-Demos/tree/master/nginx-regex-tester Cloning into 'nginx-regex-tester'... fatal: repository 'https://github.com/nginxinc/NGINX-Demos/tree/master/nginx-regex-tester/' not found A

Re: Nginx response times got increased for unknown reasons

2022-06-10 Thread Jore
Is an IPv4 or IPv6 change a factor? On 11/6/22 2:39 am, Tamil Vendhan Kanagarasu wrote: Hello everyone, We have been using Nginx for a few months now. It was great until this week. For unknown reasons, response times got higher. Like 2 minutes, 3 minutes higher from what was < 300ms before.

Re: Migrating from PHP-FPM to Nginx Unit: worth it?

2022-06-05 Thread Jore
Hi there I'm interested in this question too if anyone has any pointers. Thanks, Jore On 25/5/22 02:20, petecooper wrote: I run a fleet of small- to medium-scale web apps on PHP, and I'm comfortable compiling Nginx + PHP to to optimise for my needs. Until now, I've used PHP-

Re: Whitelist iPhone/office computer IP address to access wordpress login page, deny any other ip address

2021-11-09 Thread Jore
Just a quick reply cos I'm on the run, but this might help for #2 location /yourpath/file/whatever {     # drop the connection/blackhole for this block     return 444;     } On 10/11/21 6:32 am, Danran wrote: > I am running a lemp server which is working and running wordpress quite > pro

Re: Whitelist iPhone/office computer IP address to access wordpress login page, deny any other ip address

2021-11-09 Thread Jore
Just a quick reply cos I'm on the run, but this might help for #2 location / {     # drop the connection/blackhole for this block     return 444;     } On 10/11/21 6:32 am, Danran wrote: > I am running a lemp server which is working and running wordpress quite > properly. As of now, I ha

Re: A pretty URL for a specific PHP page?

2021-09-11 Thread Jore
Hi Francis, Thank you for that suggestion! The latter example has got me on track. Cheers, Jore On 11/9/21 7:31 am, Francis Daly wrote: > On Mon, Sep 06, 2021 at 02:58:37PM +1000, Jore wrote: > > Hi there, > >> Is it possible to make a pretty URL for a specific PHP page?

A pretty URL for a specific PHP page?

2021-09-05 Thread Jore
sock;     fastcgi_index index.php;     fastcgi_read_timeout 300s;     } } What am I doing wrong? Thanks! Jore ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Possible to make subdomain only accessible through 'embed'

2021-03-18 Thread Jore
Hi there, Thank you for the suggestion. Jore On 18/3/21 1:59 am, Ian Hobson wrote: Hi, I have not tried it, but I believe if you set a cookie on .domain.com to say that they are logged in (Note the leading .) , then you can read that cookie in all sub-domains, and check they are logged in

Re: Possible to make subdomain only accessible through 'embed'

2021-03-17 Thread Jore
icted access to the "here is how to reset your password" information, and require a password for everything else? This is also possible, but again, it would be good to do a lockdown in some way other than requiring the user to enter a password...

Re: Possible to make subdomain only accessible through 'embed'

2021-03-14 Thread Jore
is: while there wouldn't be extremely sensitive information on the Wiki per se, some content would reveal in some instances the general backends of some of our infrastructure, which the whole world doesn't need to know... So yeah, any questions/ideas/suggestions/commentary welcome! T

Possible to make subdomain only accessible through 'embed'

2021-03-12 Thread Jore
gh "docs.domain.com"? Can this be done with nginx conf or another method? Thank you! Jore ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Quick question on NGINX cache

2020-05-27 Thread Jore
   add_header Pragma public;     add_header Cache-Control "public, must-revalidate, proxy-revalidate";    } } And contents of /etc/nginx/nginx.conf: user www-data; worker_processes auto; pid /run/nginx.pid; events {     worker_connections 8192;     # multi_accep

Re: Quick question on NGINX cache

2020-05-24 Thread Jore
Hi there, Thanks for that. Could you provide an example conf by any chance please, so I can get my head around that? Thanks! Jore On 24/5/20 8:56 am, Alex Evonosky wrote: > Jore- > > I applied the proxy_hide_header for no-cache headers to NGINX can > process it and cache it. >

Re: Quick question on NGINX cache

2020-05-23 Thread Jore
Hi Alex/all, How did you fix? I've got a very similar issue. nginx running Wordpress with the Hypercache plugin but only the homepage is cached, other pages "miss" according to page headers. Thanks, Jore On 24/5/20 7:04 am, Alex Evonosky wrote: > Disregard, found the is