Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
nginx plugin config: HTTP server -> HTTPS Only vs. Location -> Force HTTPS?
« previous
next »
Print
Pages: [
1
]
Author
Topic: nginx plugin config: HTTP server -> HTTPS Only vs. Location -> Force HTTPS? (Read 2819 times)
sjjh
Jr. Member
Posts: 55
Karma: 2
nginx plugin config: HTTP server -> HTTPS Only vs. Location -> Force HTTPS?
«
on:
March 04, 2022, 11:49:16 am »
Hello everybody,
I'm currently setting up the nginx plugin as reverse proxy. In the Web UI config I did find the two options
HTTP Server -> HTTPS Only
Location -> Force HTTPS
I'm wondering, what's the difference between these two, when to use which?
Thanks
Simon
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: nginx plugin config: HTTP server -> HTTPS Only vs. Location -> Force HTTPS?
«
Reply #1 on:
March 05, 2022, 02:53:31 pm »
One is only for specific subdirectories.
Some people have different applications on different context paths.
Logged
sjjh
Jr. Member
Posts: 55
Karma: 2
Re: nginx plugin config: HTTP server -> HTTPS Only vs. Location -> Force HTTPS?
«
Reply #2 on:
March 08, 2022, 09:44:43 pm »
Okay, thanks, I see. Makes sense to me. As I currently have a one to one relation between servers and locations this thought didn't cross my mind.
Simon
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
nginx plugin config: HTTP server -> HTTPS Only vs. Location -> Force HTTPS?