strange url resolution
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nginx |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I installed ubuntu 22.04.1 LTS just now afresh, then nginx. nginx version: nginx/1.18.0 (Ubuntu)
. the server is running at http://
the server config file is default, with addition only of /wth:
```
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.nginx-
server_name _;
location / {
try_files $uri $uri/ =404;
}
location /wth {
root /var/www/fcgi-bin/;
index wth-root.html;
}
}
```
server was restarted, /var/www/
now try /wth, which nginx should resolve to /var/www/
now try /wth-root.html, which nginx should not resolve to /var/www/
This looks like a support request not a bug. Please email <email address hidden> for support requests or post on Ask Ubuntu or similar sites for support.