docs: add nginx config
All checks were successful
Publish docker image / Publish (push) Successful in 2m26s
All checks were successful
Publish docker image / Publish (push) Successful in 2m26s
This commit is contained in:
parent
94364d5cf2
commit
a49932a269
1 changed files with 15 additions and 0 deletions
15
docs/aci-api.ashhhleyyy.dev.conf
Normal file
15
docs/aci-api.ashhhleyyy.dev.conf
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
limit_req_zone $binary_remote_addr zone=aci-backend:10m rate=1r/s;
|
||||||
|
|
||||||
|
server {
|
||||||
|
include /etc/nginx/snippets/ashhhleyyy.dev.conf;
|
||||||
|
|
||||||
|
server_name aci-api.ashhhleyyy.dev;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
limit_req zone=aci-backend burst=5 delay=5;
|
||||||
|
proxy_pass http://amity.ash.ley:8000;
|
||||||
|
}
|
||||||
|
|
||||||
|
access_log /var/log/nginx/aci-api.ashhhleyyy.dev-access.log;
|
||||||
|
error_log /var/log/nginx/aci-api.ashhhleyyy.dev-error.log;
|
||||||
|
}
|
Loading…
Reference in a new issue