OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Web Server Instructions / Let's Encrypt / Nginx
« previous next »
  • Print
Pages: 1 [2]

Author Topic: Web Server Instructions / Let's Encrypt / Nginx  (Read 13344 times)

Deku2

  • Newbie
  • *
  • Posts: 30
  • Karma: 1
    • View Profile
Re: Web Server Instructions / Let's Encrypt / Nginx
« Reply #15 on: February 22, 2019, 02:43:54 pm »
Here is the error in the log for trying to delete the IP ACL.  Running 18.7.10_4

[20-Feb-2019 17:15:58 America/New_York] PHP Fatal error:  Uncaught Error: Call to undefined method OPNsense\Nginx\Nginx::find_ip_acl_entry_uuids() in /usr/local/opnsense/mvc/app/controllers/OPNsense/Nginx/Api/SettingsController.php:505
Stack trace:
#0 [internal function]: OPNsense\Nginx\Api\SettingsController->delipaclAction('575a2aad-e5ff-4...')
#1 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(OPNsense\Nginx\Api\SettingsController), 'delipaclAction', Array)
#2 [internal function]: Phalcon\Dispatcher->dispatch()
#3 /usr/local/opnsense/www/api.php(26): Phalcon\Mvc\Application->handle()
#4 {main}
  thrown in /usr/local/opnsense/mvc/app/controllers/OPNsense/Nginx/Api/SettingsController.php on line 505
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Web Server Instructions / Let's Encrypt / Nginx
« Reply #16 on: February 22, 2019, 06:31:56 pm »
-> https://github.com/opnsense/plugins/pull/1205

you can use opnsense-patch as always
Logged

Deku2

  • Newbie
  • *
  • Posts: 30
  • Karma: 1
    • View Profile
Re: Web Server Instructions / Let's Encrypt / Nginx
« Reply #17 on: February 23, 2019, 02:30:32 pm »
Quote from: fabian on February 21, 2019, 11:01:08 pm
It is enabled when you enable HTTPS as well as you can configure it under security headers.

fabian, can you point me to what I need to select to disable HSTS under security headers?  I see a couple options, but they seem more like configurations for HSTS, not on enabling or disabling it.  It's not clear how to do this unless you're speaking of editing the nginx.cfg directly - thanks.
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Web Server Instructions / Let's Encrypt / Nginx
« Reply #18 on: February 24, 2019, 09:27:40 am »
Pull request: https://github.com/opnsense/plugins/pull/1207
Logged

  • Print
Pages: 1 [2]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Web Server Instructions / Let's Encrypt / Nginx
 

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