Re: Run PHP on NGINX

2023-10-17 Thread Laura Smith via nginx
--- Original Message --- On Tuesday, October 17th, 2023 at 16:50, Jeff wrote: > Can PHP code be run using NGINX? > > Yes of course. There are surely thousands of how-to's on Google already ? Its not difficult, only about 5 lines in the config file. ___

Re: NGINX Docs - where to submit change suggestions ?

2021-08-12 Thread Laura Smith
‐‐‐ Original Message ‐‐‐ On Thursday, August 12th, 2021 at 11:21 AM, Konstantin Pavlov wrote: > Hi Laura, > > 05.08.2021 13:41, Konstantin Pavlov wrote: > > > Hi Laura, > > > > 05.08.2021 13:01, Laura Smith wrote: > > > > > Hi > >

NGINX Docs - where to submit change suggestions ?

2021-08-05 Thread Laura Smith
Hi Any ideas where change suggestions for docs should be submitted ? Specifically this page: http://nginx.org/en/linux_packages.html#Debian The instructions presented are not inline with Debian best-practices. As per https://wiki.debian.org/DebianRepository/UseThirdParty: "The key MUST be downl

Re: Serve same website under two URLs / domains with certbot

2021-06-06 Thread Laura Smith
Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Saturday, 5 June 2021 23:32, forumacct wrote: Why do > www.domain.com and domain.com count as two?) Because domain.com is the domain. www is a subdomain. Don't forget you can get a wildcard certificate if you need it.

Re: Serve same website under two URLs / domains with certbot

2021-06-05 Thread Laura Smith
Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Saturday, 5 June 2021 09:28, forumacct wrote: > > Now I want to use certbot for https. > But that requires certificates unique for each domain. (I think) Nope. I suggest you look again at the man page for certbot. ;-)

Re: NGINX PHP FPM - Download prompt when accessing directories

2020-08-30 Thread Laura Smith
Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Sunday, August 30, 2020 11:08 PM, Francis Daly wrote: Hi, Thanks for your reply. > Your > > > location ^~ /administrator/ { > > will handle all requests that start with /administrator/; that location > does not do any sp

NGINX PHP FPM - Download prompt when accessing directories

2020-08-30 Thread Laura Smith
Hi, I have a largely working NGINX config as below.  The only problem is that when "/administrator" or "/administrator/" or "administrator/foo.php" is called, I always get prompted to download the PHP file rather than it be executed by PHP FPM.  Meanwhile, calls to "/" or "/foo.php" operate as

NGINX mangling rewrites when encoded URLs present

2018-05-05 Thread Bob Smith via nginx
nginx version: nginx/1.13.12 This is my rewrite: location / { rewrite ^/(.*)$ https://example.net/$1 permanent; } I am getting some really odd behavior. For example: mysubdomain.example.com/CL0/https:%2F%2Fapple.com Gets re-written to example.net/CLO/https:/apple.com Only o

NGINX only enabling TLS1.2 ?

2018-04-17 Thread Tim Smith
Hi, Is there any reason why SSLlabs would report only 1.2 as being available despite the config showing otherwise ? nginx version: nginx/1.13.12 listen 10.10.10.10:443 ssl http2; ssl on; ssl_certificate /etc/nginx/keys/blah.pem; ssl_certificate_key /etc/nginx/keys

Upgradeing from stable to mainline via repo ?

2018-04-08 Thread Bob Smith via nginx
Hi, I've currently got stable installed via the NGINX Centos 7 repo. Is there a "supported", seamless way to "upgrade" from stable to mainline via the repo ? Or do I have to go the nuclear option via uninstall and re-install ? Thanks ! Bob___ nginx

Re: Nginx 1.12.1 Memory Consumption

2018-03-19 Thread Matthew Smith
onfirm the process’s memory consumption, > > and cat /var/meminfo to view a detailed description of how memory is > being used onto entire host. > > > On Mar 14, 2018, at 1:05 PM, Matthew Smith > wrote: > > Hello, > > I have encountered what I consider to be an inter

Nginx 1.12.1 Memory Consumption

2018-03-14 Thread Matthew Smith
Hello, I have encountered what I consider to be an interesting behavior. We have Nginx 1.12.1 configured to do SSL termination as well as reverse proxy. Whenever there is a traffic spike (300 req/s > 1000 req/s, 3k active connections > 20k active connections), there is a corresponding spike in Ngi

Re: nginx 1.13 binaries

2017-07-27 Thread Paul Smith
As Francis stated, you need to look for the mainline version, not the stable version. They have different repositories. http://nginx.org/packages/mainline/centos/6/x86_64/RPMS/ On Thu, Jul 27, 2017 at 12:47 PM, Gee Bunny wrote: > There might be talk of binaries being available on the page you l

Why is nginx returning a 301 redirect in my reverse-proxy to a REST service?

2016-03-25 Thread Rowland Smith
I have a REST service with an endpoint ‘registrations' running in a Docker container and it maps port 5000 to port 5001 on the Docker host. My /etc/nginx/conf.d/default.conf contains: upstream registration-api { server registration:5001 ; } server { listen 80; server_name ""

when work processor will auto restart?

2015-06-23 Thread smith
regards Smith ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Request limit calculation

2015-06-19 Thread John Smith
Hello, I'm John and I'm a nginx noob. I was wondering how the request limit reach is calculated when using  limit_req_zone and limit_req.My problem is that, in development, I'm not concatenating static files such as .js and .css files. And so the browser does about 27 requests when the first page

答复: nginx plus with ssl on TCP load balance not work

2015-06-15 Thread smith
load balance not work Redirect usage is not related to the TCP proxy. Please search for problems in your backend. TCP proxy can be used for proxying any protocol unless you need to change the data bytes (alter HTTP headers, change method etc) > On 15 Jun 2015, at 08:33, smith wrote: > &g

答复: 答复: 答复: nginx plus with ssl on TCP load balance not work

2015-06-14 Thread smith
Thanks, is this means TCP proxy not suitable for web usage, for web usage may have many redirect usage? I’m going to use http/https proxy instead 发件人: nginx-boun...@nginx.org [mailto:nginx-boun...@nginx.org] 代表 ryd994 发送时间: 2015年6月15日 4:21 收件人: nginx@nginx.org 主题: Re: 答复: 答复: nginx plus wi

答复: 答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
发送时间: 2015年6月11日 10:11 收件人: nginx@nginx.org 主题: Re: 答复: nginx plus with ssl on TCP load balance not work On Thu, Jun 11, 2015 at 09:03:55AM -, smith wrote: > With info level log enabled. > > Found these: > > 80's log: > 2015/06/11 08:48:18 [info] 12719#0: *4

答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
1.11.248 So it that any bug? -邮件原件- 发件人: smith [mailto:smith@zoom.us] 发送时间: 2015年6月11日 8:35 收件人: 'nginx@nginx.org' 主题: 答复: nginx plus with ssl on TCP load balance not work When I'm trying http ssl, I found need to set proxy_set_header X-Forwarded-Proto $scheme; in

答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
hange anything in it like http headers etc. On 11 Jun 2015, at 11:34, smith wrote: > When I'm trying http ssl, I found need to set proxy_set_header > X-Forwarded-Proto $scheme; in server block, or it will also encounter > ERR_TOO_MANY_REDIRECTS. > > Is TCP has same kind o

答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
When I'm trying http ssl, I found need to set proxy_set_header X-Forwarded-Proto $scheme; in server block, or it will also encounter ERR_TOO_MANY_REDIRECTS. Is TCP has same kind of setting? -邮件原件- 发件人: smith [mailto:smith@zoom.us] 发送时间: 2015年6月11日 8:28 收件人: nginx@nginx.org 主

答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
about the 80 port of the stream balancer? Does it proxy the connection normally? PS: no access log is supported in the stream module. Connection information (addresses etc) is logged to error log with the info loglevel. On 11 Jun 2015, at 10:49, smith wrote: > Nginx.conf: > &g

答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
normally? PS: no access log is supported in the stream module. Connection information (addresses etc) is logged to error log with the info loglevel. On 11 Jun 2015, at 10:49, smith wrote: > Nginx.conf: > > user nginx; > worker_processes auto; > worker_rlimit_nofile 65535; > >

答复: nginx plus with ssl on TCP load balance not work

2015-06-11 Thread smith
Nginx.conf: user nginx; worker_processes auto; worker_rlimit_nofile 65535; error_log /var/log/nginx/error.log warn; pid/var/run/nginx.pid; events { use epoll; worker_connections 65535; } http { include /etc/nginx/mime.types; default_type application/octet-st

Re: static file performance "staircase" pattern

2015-05-09 Thread Paul Smith
On Sat, May 9, 2015 at 11:37 AM, Dennis Jacobfeuerborn wrote: > Hi, > I'm trying to find out how to effectively deliver pages with lots of > images on a page. Attached you see opening a static html page that > contains lots of img tags pointing to static images. Please also note > that all images