OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Nginx reverse proxy + Nextcloud
« previous next »
  • Print
Pages: [1]

Author Topic: Nginx reverse proxy + Nextcloud  (Read 2521 times)

GreenMatter

  • Full Member
  • ***
  • Posts: 166
  • Karma: 1
    • View Profile
Nginx reverse proxy + Nextcloud
« on: June 22, 2020, 07:58:14 pm »
So far, I've added trusted_proxies variable (https://docs.nextcloud.com/server/15/admin_manual/configuration_server/reverse_proxy_configuration.html) in nextcloud config but I'm lost when it comes to Nginx settings in OPNsense. All tutorials which I found keep showing text config with options unavailable (?) in Nginx GUI.
After configuring "regular" options available in GUI the only thing I get is "Request Denied". Does anybody have such a recipe for Nginx in OPNsense?
Logged
OPNsense on:
Intel(R) Xeon(R) E-2278G CPU @ 3.40GHz (4 cores)
8 GB RAM
50 GB HDD
and plenty of vlans ;-)

fabian

  • Moderator
  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Nginx reverse proxy + Nextcloud
« Reply #1 on: June 22, 2020, 10:28:42 pm »
for some options you need to enable the advanced mode on top.
Logged

GreenMatter

  • Full Member
  • ***
  • Posts: 166
  • Karma: 1
    • View Profile
Re: Nginx reverse proxy + Nextcloud
« Reply #2 on: June 22, 2020, 10:40:46 pm »
Quote from: fabian on June 22, 2020, 10:28:42 pm
for some options you need to enable the advanced mode on top.
Yes, I'd done that but still I couldn't find all options like headers (not security headers) as described in tutorials. I keep trying but number of possibilities is rather high and that's why I'm seeking some assistance.


EDIT:
I keep getting this error:
Code: [Select]
*1 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream, client: 172.16.4.6, server: next1.xxxx.xx, request: "GET / HTTP/2.0", upstream: "https://172.16.1.2:443/", host: "next1.xxxx.xx"I don't know how to set TLS properly for nextcloud...
« Last Edit: June 22, 2020, 11:09:29 pm by GreenMatter »
Logged
OPNsense on:
Intel(R) Xeon(R) E-2278G CPU @ 3.40GHz (4 cores)
8 GB RAM
50 GB HDD
and plenty of vlans ;-)

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Web Proxy Filtering and Caching (Moderator: fabian) »
  • Nginx reverse proxy + Nextcloud
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2