mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 09:38:51 +02:00

# Conflicts: # backend/go.mod # frontend/index.html # frontend/package-lock.json # frontend/package.json # frontend/public/themes/lara-dark-blue/theme.css # frontend/public/themes/lara-dark-blue/theme.css.map # frontend/public/themes/lara-light-blue/theme.css # frontend/public/themes/lara-light-blue/theme.css.map # frontend/src/App.vue # frontend/src/components/DarkModeSwitcher.vue # frontend/src/i18n/index.ts # frontend/src/main.ts # frontend/src/router/index.ts # frontend/src/view/CalendarLink.vue # frontend/src/view/edit/EditCalendar.vue # frontend/vite.config.ts # reverseproxy.conf # reverseproxy.local.conf # services/data-manager/main.go # services/data-manager/model/roomOccupancyModel.go # services/data-manager/service/addRoute.go # services/data-manager/service/addSchedule.go # services/data-manager/service/db/dbGroups.go # services/data-manager/service/feed/feedFunctions.go # services/data-manager/service/fetch/sport/sportFetcher.go # services/data-manager/service/fetch/v1/fetchSeminarEventService.go # services/data-manager/service/fetch/v1/fetchSeminarGroupService.go # services/data-manager/service/fetch/v2/fetcher.go # services/data-manager/service/functions/filter.go # services/data-manager/service/functions/filter_test.go # services/data-manager/service/functions/time/parse.go # services/data-manager/service/room/roomService.go # services/data-manager/service/room/roomService_test.go # services/go.sum # services/ical/service/connector/grpc/client.go
60 lines
1.5 KiB
Plaintext
60 lines
1.5 KiB
Plaintext
worker_processes 4;
|
|
|
|
error_log /opt/bitnami/nginx/logs/error.log debug;
|
|
pid /opt/bitnami/nginx/tmp/nginx.pid;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
map $request_method $ratelimit_key {
|
|
POST $binary_remote_addr;
|
|
default "";
|
|
}
|
|
|
|
limit_req_zone $ratelimit_key zone=createFeed:10m rate=1r/m;
|
|
|
|
server {
|
|
listen 80;
|
|
listen [::]:80;
|
|
http2 on;
|
|
|
|
location /api/feed {
|
|
limit_req zone=createFeed nodelay;
|
|
proxy_pass http://htwkalender-ical:8091;
|
|
client_max_body_size 20m;
|
|
proxy_connect_timeout 600s;
|
|
proxy_read_timeout 600s;
|
|
proxy_send_timeout 600s;
|
|
send_timeout 600s;
|
|
limit_req_status 429;
|
|
}
|
|
|
|
location /api {
|
|
proxy_pass http://htwkalender-data-manager:8090;
|
|
client_max_body_size 20m;
|
|
proxy_connect_timeout 600s;
|
|
proxy_read_timeout 600s;
|
|
proxy_send_timeout 600s;
|
|
send_timeout 600s;
|
|
}
|
|
|
|
location /_ {
|
|
proxy_pass http://htwkalender-data-manager:8090;
|
|
client_max_body_size 100m;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass https://htwkalender-frontend:8000;
|
|
}
|
|
|
|
location /__devtools__ {
|
|
proxy_pass https://htwkalender-frontend:8000;
|
|
}
|
|
}
|
|
}
|