mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 19:22:51 +00:00
feat: add proxy
This commit is contained in:
17
nginx.conf.template
Normal file
17
nginx.conf.template
Normal file
@@ -0,0 +1,17 @@
|
||||
{{{ dockerVersionMap }}}
|
||||
|
||||
# create a custom request limit zone which can handle 160,000 IP-Addresses at the same time
|
||||
# routes using this limit zone will limit each client to not send more than one request in 50ms
|
||||
# be sure to use burst handling when needed, because most clients will fire some requests in parallel
|
||||
limit_req_zone $binary_remote_addr zone=customstappslimit:10m rate=20r/s;
|
||||
|
||||
server {
|
||||
{{{ listener }}}
|
||||
|
||||
{{{ visibleRoutes }}}
|
||||
|
||||
{{{ hiddenRoutes }}}
|
||||
|
||||
{{{ staticRoute }}}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user