Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
Optimal nginx configuration for Nextcloud
« previous
next »
Print
Pages: [
1
]
Author
Topic: Optimal nginx configuration for Nextcloud (Read 2332 times)
psychofaktory
Full Member
Posts: 104
Karma: 2
Optimal nginx configuration for Nextcloud
«
on:
December 14, 2023, 10:55:12 am »
Hello,
the
official Nextcloud documentation provides extensive recommendations for the correct configuration of the upstream nginx
.
Unfortunately, I find it difficult to transfer the configuration from the example to the nginx configuration of the OPNsense, as the configuration there has a completely different structure.
Can someone here help me to create the optimal configuration under OPNsense according to the Nextcloud documentation?
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Optimal nginx configuration for Nextcloud
«
Reply #1 on:
December 14, 2023, 04:05:13 pm »
Hi
suggested config is for NC on the same host with nginx (/var/www/nextcloud)
Logged
psychofaktory
Full Member
Posts: 104
Karma: 2
Re: Optimal nginx configuration for Nextcloud
«
Reply #2 on:
December 14, 2023, 04:07:28 pm »
Quote from: Fright on December 14, 2023, 04:05:13 pm
suggested config is for NC on the same host with nginx (/var/www/nextcloud)
Hi,
Unfortunately, this is not practicable with the Docker installation of Nextcloud.
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Optimal nginx configuration for Nextcloud
«
Reply #3 on:
December 14, 2023, 04:12:48 pm »
yep.
so i think you don't need to try to mimic the config mentioned.
you can just start with the 'regular' config in OPN gui and test.
then adapt it if needed
Logged
psychofaktory
Full Member
Posts: 104
Karma: 2
Re: Optimal nginx configuration for Nextcloud
«
Reply #4 on:
December 15, 2023, 10:08:46 am »
Ok, thanks for the feedback.
With the "regular" configuration and a few adjustments, Nextcloud is running and I have not been able to detect any errors so far.
I was also able to get an A+ ranking in the Nextcloud security scan and at securityheaders.com.
I just wanted to make sure that the web server is optimally configured.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
Optimal nginx configuration for Nextcloud