hi,
i installed nextcloud using @danb35 script (https://www.truenas.com/community/threads/nextcloud-lets-encrypt-missing.102973/page-2#post-708859)
but i am having issue to setup proper reverse proxy.
I do not understand how can my proxy access only nextcloud running on port 80;
@danb35 created somehow Caddy hook into install script ... but i dont wanna use caddy on nextcloud instance, the certificates etc will be handled by reverse proxy ...
issue described also here>
help.nextcloud.com
is it possible to somehow stop/remove caddy from @danb35 install and run only nextcloud on port 80; so i can in next step use reverse proxy with lets encrypt and will handle access of nextcloud via 443?
also from the script i cant see http server caddy is used..
github.com
edit2: seems the webserver is caddy here ...
root caddy 3078 6 tcp4 127.0.0.1:2019 *:*
root caddy 3078 7 tcp46 *:80 *:*
root caddy 3078 8 tcp46 *:443 *:*
apparently still do not understand how to integrate whole stuff with nginx reverse proxy ...
ie how to make remove caddy and replace by nginx or apache ;... acting on to of the nextcloud. .. there is no point to run caddy server... .
second step would be run proper nginx from other box as reverse proxy -> reaching nginx/apache on top of the nextcloud
ANy idea?
thanks!
i installed nextcloud using @danb35 script (https://www.truenas.com/community/threads/nextcloud-lets-encrypt-missing.102973/page-2#post-708859)
but i am having issue to setup proper reverse proxy.
I do not understand how can my proxy access only nextcloud running on port 80;
@danb35 created somehow Caddy hook into install script ... but i dont wanna use caddy on nextcloud instance, the certificates etc will be handled by reverse proxy ...
issue described also here>

Reverse proxy - nginx not working
hi, i have separate VM with nginx acting as reverse proxy 10.0.1.204 all other reverse proxies works fine … but … nextcloud doesnt work at all… and i am desperate already. nextcloud has ip 10.0.1.163 https://cloxxx.duckdns.org from internal network: when i execute this from outside of the...

is it possible to somehow stop/remove caddy from @danb35 install and run only nextcloud on port 80; so i can in next step use reverse proxy with lets encrypt and will handle access of nextcloud via 443?
also from the script i cant see http server caddy is used..
freenas-iocage-nextcloud/nextcloud-jail.sh at master · danb35/freenas-iocage-nextcloud
Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt - danb35/freenas-iocage-nextcloud
root caddy 3078 6 tcp4 127.0.0.1:2019 *:*
root caddy 3078 7 tcp46 *:80 *:*
root caddy 3078 8 tcp46 *:443 *:*
apparently still do not understand how to integrate whole stuff with nginx reverse proxy ...
ie how to make remove caddy and replace by nginx or apache ;... acting on to of the nextcloud. .. there is no point to run caddy server... .
second step would be run proper nginx from other box as reverse proxy -> reaching nginx/apache on top of the nextcloud
ANy idea?
thanks!
Last edited: