Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Nginx headers more
« previous
next »
Print
Pages: [
1
]
Author
Topic: Nginx headers more (Read 923 times)
yordanov.alexandar
Newbie
Posts: 2
Karma: 0
Nginx headers more
«
on:
March 17, 2023, 03:19:07 pm »
Hi
I am new to OPNSense.
I have configured nginx as a reverse proxy for a few local services (started from docker containers).
I would like to modify(clear and add) some headers for some of these services.
From my searches so far it seems that I can do this with the Headers More module for nginx. I have enabled it in the Opnsense plugin (Global HTTP settings) however I can't seem to find any way to use it. Are there GUI options for this module? If not how can I use it?
Thank you
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Nginx headers more
«
Reply #1 on:
March 18, 2023, 08:16:37 am »
Hi
Quote
Are there GUI options for this module?
not yet. disable\enable only so far
Quote
If not how can I use it?
via Location hooks
(like
https://forum.opnsense.org/index.php?topic=27050.msg131201#msg131201
)
Logged
yordanov.alexandar
Newbie
Posts: 2
Karma: 0
Re: Nginx headers more
«
Reply #2 on:
March 23, 2023, 07:24:39 am »
Thank you that worked
After some experimentation It turned out that Nginx security headers already does what I needed, but nevertheless it's good knowing how to do this
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Nginx headers more