mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 01:28:50 +02:00
feat:#4 added reroute
This commit is contained in:
@ -51,25 +51,8 @@ http {
|
|||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
|
server_name dev.htwkalender.de;
|
||||||
location /api {
|
return 301 https://$host$request_uri;
|
||||||
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 {
|
server {
|
||||||
|
Reference in New Issue
Block a user