Added Dynamic DNS entry to pfSense and successfully updated IP. Already have HAProxy front end with http to https setup. Has been working fine with other backends. Added backend for Nextcloud with my internal ip and port. Same as I have for other working backends. Added the lines for haproxy in this article to the front ends and back.
I just use HAProxy to route traffic to my NextCloud install and that works well, you shouldn’t need squid as well. My HAProxy backend forwards to my servers IP on port 443 with encryption and ssl checks set to “yes”. I use a self signed certificate on the NextCloud instance.
05.09.2017 · I wanted to setup HAProxy as an reverse proxy towards my nextCloud 12 server and I really struggled to find proper information on how to do that. As I have a number of backend services I needed a different webroot to define the request and I finally succeeded and I want to share my configuration…
My setup is PFSense 2.51 with HAProxy and Acme installed. I have Nextcloud 21.0.1.1 setup in a TrueNAS 12.2U3 jail. I setup HAProxy using this youtube video. I can browse to cloud.mydomain.com and get the lock symbol on my computer which has an entry in the resolver pointing to a virtual IP that directs to my Nextcloud server IP.
Nextcloud is an open source, self-hosted file sync & communication app platform. Access & sync your files, contacts, calendars and communicate & collaborate across your devices. You decide what happens with your data, where it is and who can access it! 25.8k Members 43 Online Created Jun 2, 2016 Join
In the HAProxy Frontend setting for your nextcloud, add an additional ACL below the hostname match. Name it web_dav, use "path_contains" and "/.well-known/webdav" as the value.
12.03.2021 · Nextcloud-Server neu gestartet. Im DNS vom Cloudflare habe ich eingetragen: nextcloud.domain.co.at -> WAN-IP. Und dann habe ich folgende HAproxy Konfiguration: Real Servers: 192.168.110.6, Port 1235, SSL angehakt, Verify SSL aus. Backend: alles default, unter Servers der Server aus dem vorigen Schritt ausgewählt.
11.12.2017 · Log into pfSense and select System and Package Manager Find the HAProxy package and install it After installing you can open it under Services and HAProxy Under Settings check the box to Enable HAProxy Scroll down to Stats tab and enter a random port number (I used 444 and that worked fine) Configuring the Frontend
08.09.2021 · The reverse proxy header configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If not, this is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud. Further information can be found in the documentation.
03.02.2020 · Thanks for the reply. Yes I'm using 80 and 443. I can connect no problem within the LAN using the local ip address skipping the proxy. Couldn't see anything wrong in the firewall logs my attempts let me through and doesn't deny any attempts by me.