OnlineJudge/dockerfiles/oj_web_server/oj.conf
2016-09-17 00:14:49 +08:00

19 lines
372 B
Plaintext

server {
listen 80 default_server;
server_name _;
location /static/upload {
expires max;
alias /upload;
}
location /static {
etag off;
expires max;
alias /static;
}
location / {
client_max_body_size 100m;
proxy_pass http://oj_web_server:8080;
proxy_set_header Host $host;
}
}