NFgix常用配置
441 ワード
NGIX常用命令萼再起動nginx.exe-s reload葃停止nginx.exe-s stop啣起start nginx
nginx.com nf配置説明server部分server{listen 8881;菗菗菚菗菽菟菚菵ポート番号servergame local Host;http://localhost/xxxxx
負荷バランスup stream services{ip hash}菗菗菷負荷均衡モードserver 127.1.0.1:8080 weight=1;
nginx.com nf配置説明server部分server{listen 8881;菗菗菚菗菽菟菚菵ポート番号servergame local Host;http://localhost/xxxxx
location / { ##### /
root html/MallServer; #### nginx html/MallServer
}
啝葃啣啱啱咻咻咻咻咻が間違っている住所はerrorup 500 503 504/50 x.html、location=/50 x.html負荷バランスup stream services{ip hash}菗菗菷負荷均衡モードserver 127.1.0.1:8080 weight=1;