chore(nginx): Rout rules have been split into and moved to another folder
Some checks failed
Deploy docs / deploy (push) Has been cancelled
Create and publish a Docker image / build-and-push-server (push) Has been cancelled
Create and publish a Docker image / build-and-push-chart (push) Has been cancelled
Create and publish a Docker image / build-and-push-CR (push) Has been cancelled

This commit is contained in:
Данил 2025-02-10 17:57:43 +03:00
parent f543d2336f
commit 907b614f25
8 changed files with 89 additions and 99 deletions

28
nginx/nginx.conf Normal file
View file

@ -0,0 +1,28 @@
events { }
http {
limit_req_zone $binary_remote_addr zone=kekkai:10m rate=10r/s;
server {
listen 80;
server_name localhost; # Your domain
limit_req zone=kekkai;
return 301 https://$host$request_uri$is_args$args;
}
server {
listen 443 ssl;
server_name localhost; # Your domain
ssl_certificate /etc/nginx/ssl/fullchain.pem;
ssl_certificate_key /etc/nginx/ssl/privkey.pem;
limit_req zone=kekkai;
include chart/nginx.conf;
include server/nginx.conf;
}
}