Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

错误:ngx_http_upstream_srv_conf_t’没有名为‘default_port’的成员 #30

Open
sparGuan opened this issue Dec 28, 2018 · 9 comments

Comments

@sparGuan
Copy link

/root/nginx-upstream-fair-master/ngx_http_upstream_fair_module.c:553:51: 错误:ngx_http_upstream_srv_conf_t’没有名为‘default_port’的成员

@ghost
Copy link

ghost commented Feb 17, 2019

modified default_port to no_port.

@jlcon
Copy link

jlcon commented Mar 12, 2019

modified default_port to no_port.

How to do?

@ghost
Copy link

ghost commented Mar 12, 2019

modified default_port to no_port.

How to do?

Linux: sed -i 's/default_port/no_port/g' ngx_http_upstream_fair_module.c
macOs: sed -i '' 's/default_port/no_port/g' ngx_http_upstream_fair_module.c

@jlcon
Copy link

jlcon commented Mar 12, 2019

modified default_port to no_port.

How to do?

Linux: sed -i 's/default_port/no_port/g' ngx_http_upstream_fair_module.c
macOs: sed -i '' 's/default_port/no_port/g' ngx_http_upstream_fair_module.c

Perfect ! thank you !

@Young4Dream
Copy link

modified default_port to no_port.

How to do?

Linux: sed -i 's/default_port/no_port/g' ngx_http_upstream_fair_module.c
macOs: sed -i '' 's/default_port/no_port/g' ngx_http_upstream_fair_module.c

thanks so much!!!

@yangzhao917
Copy link

将default_port修改为no_port。

怎么做?

Linux:sed -i's / default_port / no_port /
g'ngx_http_upstream_fair_module.c macOs:sed -i'''s / default_port / no_port / g'ngx_http_upstream_fair_module.c

太好了!谢谢 !

ths 问题解决了

@yangzhao917
Copy link

将default_port修改为no_port。

怎么做?

Linux:sed -i's / default_port / no_port /
g'ngx_http_upstream_fair_module.c macOs:sed -i'''s / default_port / no_port / g'ngx_http_upstream_fair_module.c

Ths,The problem has been solved

@michacassola
Copy link

Would you like to update in the repo @gnosek? Thank you very much!

@zhangbest5
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants