feat:#4 added reroute

This commit is contained in:
Elmar Kresse
2024-05-20 01:28:47 +02:00
parent 794eacf165
commit 20d697d105

View File

@ -51,25 +51,8 @@ http {
server {
listen 80;
listen [::]:80;
location /api {
proxy_pass http://htwkalender-backend: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-backend:8090;
# Increase upload file size
client_max_body_size 100m;
}
location / {
proxy_pass http://htwkalender-frontend:8000;
}
server_name dev.htwkalender.de;
return 301 https://$host$request_uri;
}
server {