Hi,

Yes you can change it, but then need to change it in both upstream {} and the fastcgi_pass.

Cheers,

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

Thanks for your response, the upstream named domjudge is a required or not? Could I change the name? for example to : icpc2020.

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: ....


Từ: Nicky Gerritsen <nickygerritsen@me.com>
Đã gửi: 15 Tháng Mười 2020 1:38 CH
Đến: domjudge-devel@domjudge.org <domjudge-devel@domjudge.org>; Duong Tran Binh (FE FPTU HN) <DuongTB@fe.edu.vn>
Chủ đề: Re: How to setup domserver version 7.3.0 with Nginx!
 
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