ci test
All checks were successful
CI / build (push) Successful in 13s
CI / lint (push) Successful in 7s
CI / build-and-push-docker (push) Successful in 12s

This commit is contained in:
2025-08-29 14:32:02 +02:00
parent 86e301cad6
commit a05eb48143

View File

@@ -1,27 +1,29 @@
worker_processes 1;
events { worker_connections 1024; }
http { http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server { include mime.types;
listen 80;
server_name localhost;
root /usr/share/nginx/html; set_real_ip_from 0.0.0.0/0;
index index.html; real_ip_recursive on;
real_ip_header X-Forward-For;
limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s;
location / { server {
try_files $uri $uri/ /index.html; listen 80;
} server_name localhost;
root /proxy;
limit_req zone=mylimit burst=70 nodelay;
error_page 500 502 503 504 /50x.html; location / {
location = /50x.html {
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri /index.html;
} }
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
} }
}
} }
events {}