Hi Trần,

It seems you are somehow missing this: https://github.com/DOMjudge/domjudge/blob/master/etc/nginx-conf.in#L8-L11
That is where the upstream should be defined.

Cheers,

Nicky
On 15 Oct 2020, 08:02 +0200, Duong Tran Binh (FE FPTU HN) <DuongTB@fe.edu.vn>, wrote:
Hi,

I would like to use nginx as a web server for domjudge version 7.3.0.

I followed the guide in domjudge document and I successfully configure the system work with Apache 2 because of its familiar, but with Nginx, I am still stucked.

Could you please explain the way to configure domjudge in Nginx or any document to help me understand about Nginx better?

By showing Nginx Log, I got this message:
"no port in upstream "domjudge" in /opt/domjudgeicpc2020/domserver/etc/nginx-conf-inner"

I don't understand the message meaning.

Regards,
Trần Bình Dương (Mr)
IT Lecturer
Software Engineering Department , FPT University
29th Kilometer Thang Long Boulevard, Thach Hoa commune, Thach That Province, Education and Training Area, Hoa Lac High Tech Park, Ha Noi
Mobile:(+84) 936168165
Skype: avn_duong.tb
E-mail: duongtb@fe.edu.vn
Website: ....

_______________________________________________
DOMjudge-devel mailing list
DOMjudge-devel@domjudge.org
https://www.domjudge.org/mailman/listinfo/domjudge-devel