Re: Domains not working as expected with nginx

2022-07-08 Thread Francis Daly
On Fri, Jul 08, 2022 at 12:53:39PM -0700, Jason Crews wrote: Hi there, Thanks for this. I think it says that if you ask for "http://secondarydomain.com";, you will get to > server { > server_name secondarydomain.com; that server block (unless secondarydomain.com resolves to 127.0.0.2);

Re: Domains not working as expected with nginx

2022-07-08 Thread Jason Crews
server_tokens off; # server_names_hash_bucket_size 64; # server_name_in_redirect off; ssl_prefer_server_ciphers on; # server { # listen localhost:110; # server { # listen localhost:143; server { listen 127.0.0.2:80; server_name 127.0.0.2; server unix:/tmp/php-cgi.socket;

Slice module 206 requirement

2022-07-08 Thread Lucas Rolff
Hi guys, I’m having an nginx instance where I utilise the nginx slice module to slice upstream mp4 files when using proxy_cache. However, I have an interesting origin where if sending a range request (which happens when the slice module is enabled), to a file that’s less than the slice range,

Re: Domains not working as expected with nginx

2022-07-08 Thread Francis Daly
On Fri, Jul 08, 2022 at 10:14:13AM -0700, Jason Crews wrote: Hi there, > I'm not sure what I've got misconfigured here, I would appreciate > anyone who could point me in the right direction. > Site structure: > > maindomain.com -> mediawiki -> works > sub.maindomain.com -> basic php website -> w

Re: Reverse proxy to traefik

2022-07-08 Thread Francis Daly
On Thu, Jul 07, 2022 at 11:17:03AM -0300, Daniel A. Rodriguez wrote: Hi there, > Nginx is actually working as RP for several subdomains for which is also SSL > termination. The traefik box is out of my scope, but it has the ability to > negotiate TLS certificates for its own. That's why I need to

Domains not working as expected with nginx

2022-07-08 Thread Jason Crews
I'm not sure what I've got misconfigured here, I would appreciate anyone who could point me in the right direction. Site structure: maindomain.com -> mediawiki -> works sub.maindomain.com -> basic php website -> works secondarydomain.com -> wordpress -> goes to sub.maindomain.com I've posted all