質問編集履歴

2

conf の一部誤りを修正

2016/08/19 11:53

投稿

extusr
extusr

スコア31

test CHANGED
File without changes
test CHANGED
@@ -56,7 +56,7 @@
56
56
 
57
57
  location /test/ {
58
58
 
59
- proxy_pass http://127.0.0.1:80;
59
+ proxy_pass http://127.0.0.1/:80;
60
60
 
61
61
  }
62
62
 

1

conf の一部誤りを修正

2016/08/19 11:52

投稿

extusr
extusr

スコア31

test CHANGED
File without changes
test CHANGED
@@ -38,6 +38,8 @@
38
38
 
39
39
  listen 80;
40
40
 
41
+ root /var/www;
42
+
41
43
 
42
44
 
43
45
 
@@ -55,8 +57,6 @@
55
57
  location /test/ {
56
58
 
57
59
  proxy_pass http://127.0.0.1:80;
58
-
59
- root /var/www;
60
60
 
61
61
  }
62
62