use nginx for prod
Some checks failed
CI / build (push) Successful in 12s
CI / lint (push) Successful in 10s
CI / build-and-push-docker (push) Has been cancelled

This commit is contained in:
2025-08-29 14:52:44 +02:00
parent 795df16f5b
commit 9d4b5db64d
10 changed files with 14 additions and 41 deletions

View File

@@ -1,29 +0,0 @@
http {
include mime.types;
set_real_ip_from 0.0.0.0/0;
real_ip_recursive on;
real_ip_header X-Forward-For;
limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s;
server {
listen 80;
server_name localhost;
root /proxy;
limit_req zone=mylimit burst=70 nodelay;
location / {
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 {}