something updated
This commit is contained in:
@ -36,9 +36,22 @@ server {
|
||||
}
|
||||
|
||||
location /static/ {
|
||||
alias /app/static/;
|
||||
expires 1h;
|
||||
add_header Cache-Control "public, no-transform";
|
||||
proxy_pass http://api:8000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_set_header X-CSRFToken $http_x_csrf_token;
|
||||
|
||||
# タイムアウト設定
|
||||
proxy_connect_timeout 300;
|
||||
proxy_send_timeout 300;
|
||||
proxy_read_timeout 300;
|
||||
send_timeout 300;
|
||||
# alias /app/static/;
|
||||
# expires 1h;
|
||||
# add_header Cache-Control "public, no-transform";
|
||||
}
|
||||
|
||||
location = / {
|
||||
|
||||
Reference in New Issue
Block a user