mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
19 lines
402 B
Plaintext
19 lines
402 B
Plaintext
server {
|
|
listen 80 default_server;
|
|
server_name _;
|
|
location /static/upload {
|
|
expires max;
|
|
alias /home/upload;
|
|
}
|
|
location /static {
|
|
etag off;
|
|
expires max;
|
|
alias /home/OnlineJudge/static/release;
|
|
}
|
|
location / {
|
|
client_max_body_size 100m;
|
|
proxy_pass http://oj_web_server:8080;
|
|
proxy_set_header Host $host;
|
|
}
|
|
}
|