20 lines
525 B
Plaintext
20 lines
525 B
Plaintext
server {
|
|
listen 80;
|
|
server_name localhost;
|
|
client_max_body_size 512M;
|
|
keepalive_timeout 1800s;
|
|
sendfile on;
|
|
chunked_transfer_encoding on;
|
|
|
|
|
|
location /static {
|
|
alias /app/static/;
|
|
}
|
|
|
|
location / {
|
|
proxy_set_header Access-Control-Allow-Origin *;
|
|
proxy_set_header Access-Control-Allow-Methods *;
|
|
proxy_set_header Access-Control-Allow-Headers *;
|
|
proxy_pass http://172.17.0.1:18000;
|
|
}
|
|
} |