Hi! I have my Netlify website set up with the domain fizyka.edushell.net and it all displays correctly.
However, I want the content of the site to be visible on edushell.net/fizyka. In order to do this I wrote the NGINX configuration file with proxy_pass which works correctly as tested on other sites, however when directed at fizyka.edushell.net instead of displaying the site it displays “Not Found”. Do you know how to fix this? I attach part of the nginx config:
# reverse proxy
location /fizyka/ {
proxy_pass https://fizyka.edushell.net/;
proxy_http_version 1.1;
proxy_cache_bypass $http_upgrade;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
}