up
This commit is contained in:
+31
-8
@@ -9,15 +9,38 @@ proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_read_timeout 120s;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name evening-detective.crabs-games.art;
|
||||
return 308 https://evening-detective.crabs-games.art$request_uri;
|
||||
}
|
||||
listen 80 default_server;
|
||||
server_name _;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name evening-detective-api.crabs-games.art;
|
||||
return 308 https://evening-detective-api.crabs-games.art$request_uri;
|
||||
if ($host ~ ^(evening-detective\.crabs-games\.art|evening-detective-api\.crabs-games\.art)$) {
|
||||
return 308 https://$host$request_uri;
|
||||
}
|
||||
|
||||
location = /api/games/import {
|
||||
client_max_body_size 1g;
|
||||
client_body_timeout 1800s;
|
||||
proxy_read_timeout 1800s;
|
||||
proxy_send_timeout 1800s;
|
||||
proxy_request_buffering off;
|
||||
proxy_pass http://evening_detective_server:8090;
|
||||
}
|
||||
|
||||
location ~ ^/api/games/[0-9]+/results-package/(apply|download)$ {
|
||||
client_max_body_size 1g;
|
||||
client_body_timeout 1800s;
|
||||
proxy_read_timeout 1800s;
|
||||
proxy_send_timeout 1800s;
|
||||
proxy_request_buffering off;
|
||||
proxy_pass http://evening_detective_server:8090;
|
||||
}
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://evening_detective_server:8090;
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://evening_detective_frontend:8080;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
Reference in New Issue
Block a user