Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
nginx custom includes
« previous
next »
Print
Pages: [
1
]
Author
Topic: nginx custom includes (Read 1168 times)
michaelgo
Jr. Member
Posts: 52
Karma: 1
nginx custom includes
«
on:
October 07, 2021, 11:10:13 am »
since there's a lot of internal stuff in nginx.conf (if you create number of servers) - what's the best way to put custom includes ? and where to put them?
even better without GUI
thanks
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: nginx custom includes
«
Reply #1 on:
October 07, 2021, 01:21:31 pm »
You can always handroll nginx by not using the plugin and write the configuration by hand.
Cheers,
Franco
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: nginx custom includes
«
Reply #2 on:
October 07, 2021, 06:01:28 pm »
There are some file includes you can use. But they work by copying the fragment into a special place in the file system.
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: nginx custom includes
«
Reply #3 on:
October 08, 2021, 08:37:52 am »
you can look for the "include" directives in different parts of the /usr/local/etc/nginx.conf
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
nginx custom includes