Hi, 

Thank you, Nicky!
I successfully installed domserver with nginx from your guide.
I also have to remove the default.conf of nginx because I use server root path for domserver.

Once again, thank you!

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:48 CH
Đến: domjudge-devel@domjudge.org <domjudge-devel@domjudge.org>; Duong Tran Binh (FE FPTU HN) <DuongTB@fe.edu.vn>
Chủ đề: Re: Trả lời: How to setup domserver version 7.3.0 with Nginx!
 
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