hello,
I try to configure swag nginx reverse proxy to get omv web config gui.
today, the webconfig gui is configure on http port 89
and in openmediavault.subfolder.conf I update with this :
Code
location /omv {
return 301 $scheme://$host/omv/;
}
location ^~ /omv/ {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app 192.168.1.42;
set $upstream_port 89;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
proxy_pass_request_headers on;
proxy_set_header Host $host;
}
Alles anzeigen
but i always have a Bad Request Error 400.
I try to find something in the swag logs but i found nothing in error
somebody could help me ?
thank you very much