Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
nginx plugin and some custom settings like worker_rlimit_nofile
« previous
next »
Print
Pages: [
1
]
Author
Topic: nginx plugin and some custom settings like worker_rlimit_nofile (Read 2404 times)
mrpsycho
Newbie
Posts: 33
Karma: 2
nginx plugin and some custom settings like worker_rlimit_nofile
«
on:
July 28, 2021, 09:40:02 pm »
Hello,
what is the best way to setup custom settings for nginx reverse-proxy in main part?
for example, i need to configure `worker_rlimit_nofile`?
i saw, that `worker_connections` exist on main configuration in UI... but what about things, which are not added?
also, is it possible to add some vhost.conf file, instead of configuring all thru UI?
would be cool, actually, if there will be special place in `Other` tab to add custom config, where it will be possible to add some things which are not implemented in UI.
ps. why? as it suggested by vendor:
https://www.jetbrains.com/help/youtrack/standalone/Reverse-Proxy-Configuration.html#Nginx_Config
Logged
fabian
Moderator
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: nginx plugin and some custom settings like worker_rlimit_nofile
«
Reply #1 on:
July 28, 2021, 09:59:36 pm »
A custom vhost can be added but not the global settings. Global settings require a pull request for the plugin.
VHost Include:
https://github.com/opnsense/plugins/blob/master/www/nginx/src/opnsense/service/templates/OPNsense/Nginx/http.conf#L75
If you don't want the nginx to be controlled by the plugin, you can also install and configure it by hand. The installation command would then be pkg install nginx
Please note that OPNsense will ship nginx with some additional modules, where some cannot be fully disabled. For example naxsi (the WAF).
Logged
mrpsycho
Newbie
Posts: 33
Karma: 2
Re: nginx plugin and some custom settings like worker_rlimit_nofile
«
Reply #2 on:
July 29, 2021, 10:11:25 pm »
thank you!
so, soon it will work... cool.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
nginx plugin and some custom settings like worker_rlimit_nofile