I want to proxy a webmin
endpoint eg. https://xx.xx.xx.xx:10000
so it will be accessable from https://webmin.example.com
nginx
server {
listen 443 ssl http2;
server_name webmin.example.com;
ssl_certificate /var/ini/ssl/example.com/public.crt;
ssl_certificate_key /var/ini/ssl/example.com/private.key;
location / {
proxy_pass https://xxx.xxx.xxx.xxx:10000/;
}
}
webmin
echo "referers=xxx.xxx.xxx.xxx" >> /etc/webmin/config
When requesting https://example.com
the request is proxied to webmin, but I get this
If this is a legitimate link, you can allow links from this URL as follows :
Login to Webmin normally.
Go to the Webmin Configuration module.
Click on the Trusted Referrers icon.
...
I already have added the ip address to referers=
in webmin config
... and have restarted webmin server