fix:#51 added missing http feed endpoint

This commit is contained in:
Elmar Kresse
2024-04-04 23:34:15 +02:00
parent 1d230813eb
commit df6ea26b93
2 changed files with 21 additions and 0 deletions

View File

@ -110,6 +110,26 @@ http {
limit_req_zone $limit_key zone=createFeed:10m rate=1r/m;
limit_req_zone $limit_key zone=modules:10m rate=30r/m;
server {
listen 80;
listen [::]:80;
server_name cal.htwk-leipzig.de;
location /api/feed {
proxy_pass http://htwkalender-backend:8090;
client_max_body_size 2m;
proxy_connect_timeout 600s;
proxy_read_timeout 600s;
proxy_send_timeout 600s;
send_timeout 600s;
limit_req zone=feed burst=10 nodelay;
}
location / {
return 301 https://cal.htwk-leipzig.de$request_uri;
}
}
server {
listen 443 ssl;
listen [::]:443 ssl;