Welcome! Log In Create A New Profile

Advanced

confusing nginx resolution

Posted by iaw4 
confusing nginx resolution
January 26, 2023 11:41AM
I have most things working and am now working on fcgi, step by step. First thing I did was

```
server {
server_name www.ivo-welch.info;
root /var/www/ivo-welch.info/www;
index index.html;

location /wth {
root /var/www/fcgi-bin;
index wth.html;
}

...
}
```

I expected 'http://www.ivo-welch.info/wth' now to come back with `/var/www/fcgi-bin/wth.html` . alas, it does not. the URL that does serves up `/var/www/fcgi-bin/wth.html` is instead `http://www.ivo-welch.info/wth.html` . I do not understand why. I don't have an nginx location for /wth.html, so this URL should have served up `http://www.ivo-welch.info/www/wth.html` (which does not exist).

could someone please explain to me why this fails? (later on, I plan to replace this location with a fastcgi script.)

thanks for any help.

/iaw
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 124
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready