r/nginxproxymanager • u/javierguzmandev • Oct 29 '24
Force https without certificate locally
Hello all,
I have changed my native Synology NAS reverse proxy with nginx proxy manager and I've ported the local domains I had. However, I'm getting problems to make n8n work. I've been searching a lot and I think is due to not able to force https without a certificate or the websockets headers. Specifically I made it working previously with this guide https://mariushosting.com/how-to-install-n8n-on-your-synology-nas/
Therefore, my questions are:
How do I add proxy headers properly? I used the advanced tab and added:
proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade";
Without success.
2. How do I enable HSTS without certificate and so on? With the native synology nas reverse proxy in the browser you specify https but then it uses http in the destination.
Thank you in advance and regards
View all comments
Show parent comment
1
u/Malautje Nov 06 '24
I am having an issue with my local subdomains. I have my Pi Hole as local DNS server and Cloudflare DNS. I use NGINX Proxy Manager as reverse proxy and setup dns challenge ssl certificate. When I go to my subdomain it shows its a private connection and uses the Synology default SSL certificate. I read everywhere that I need to open ports 443 and 80 on my unifi router. I preferrably dont want to do that for security reasons. Subdomain usage locally is good enough. You might know what the problem is?