提交 3a03055c authored 作者: huangxingyao's avatar huangxingyao

.

上级 34529d83
...@@ -11,33 +11,16 @@ ...@@ -11,33 +11,16 @@
# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples. # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
## ##
# Default server configuration
#
#upstream account_api {
#server tvememberuser:2099 max_fails=5 fail_timeout=10s;
#}
#upstream goods_api {
# server tvememberproduct:2098 max_fails=5 fail_timeout=10s;
#}
#upstream pay_api {
# server tvememberbill:2094 max_fails=5 fail_timeout=10s;
#}
#upstream order_api {
# server tvememberbill:2094 max_fails=5 fail_timeout=10s;
#}
server { server {
listen 80; listen 80;
#listen [::]:80 default_server; listen [::]:80;
server_name localhost;
# Add index.php to the list if you are using PHP # Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html; index index.html index.htm index.nginx-debian.html;
server_name _;
location / { location / {
try_files $uri $uri/ /index.html; try_files $uri $uri/ /index.html;
error_page 405 =200 $uri; error_page 405 =200 $uri;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论