質問編集履歴

1

誤字

2019/06/04 08:32

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -1,8 +1,6 @@
1
- squidリバースプロキシnginx同一サーバーとした環境があります。
1
+ squidリバースプロキシ時に「405のmethod-not-allowed」が返される原因と対応
2
2
 
3
- httpsアクセス時に「405のmethod-not-allowed」が返される原因と対応を
4
-
5
- ご存知の方ご教授頂けると幸いです
3
+ ご存知の方。
6
4
 
7
5
 
8
6
 
@@ -48,64 +46,6 @@
48
46
 
49
47
 
50
48
 
51
- http_port 192.168.10.201:80 accel ignore-cc defaultsite=192.168.10.201
52
-
53
- https_port 192.168.10.201:443 accel cert=/opt/squid/etc/squid/squid.pem key=/opt/squid/etc/squid/squid.pem defaultsite=192.168.10.201 protocol=http
54
-
55
- cache_peer 192.168.10.201 parent 8080 0 no-query originserver
56
-
57
-
58
-
59
- cache_effective_user proxy
60
-
61
- cache_effective_group proxy
62
-
63
-
64
-
65
- visible_hostname foo.example.jp
66
-
67
- coredump_dir /var/cache/squid
68
-
69
- no_cache deny all
70
-
71
- logformat squid [%{%Y/%m/%d|%H:%M:%S}tl] %>a %Ss/%03>Hs %<st [%rm] => %ru %un %Sh/%<a %mt [cli]-->%>A %>p--> %>la %>lp--> %la %lp [srv]---> %<a %<p ---> %<la %lp
72
-
73
49
 
74
50
 
75
51
  ```
76
-
77
-
78
-
79
- ### https表示時のログ抜粋(/var/log/squid/access.log)
80
-
81
- ```
82
-
83
- 192.168.10.12 NONE/405 3326 [CONNECT] => error:method-not-allowed - HIER_NONE/- text/html
84
-
85
- 192.168.10.12 NONE/405 3326 [CONNECT] => error:method-not-allowed - HIER_NONE/- text/html
86
-
87
- 192.168.10.12 NONE/405 3326 [CONNECT] => error:method-not-allowed - HIER_NONE/- text/html
88
-
89
- 192.168.10.12 NONE/405 3326 [CONNECT] => error:method-not-allowed - HIER_NONE/- text/html
90
-
91
- 192.168.10.12 NONE/405 3326 [CONNECT] => error:method-not-allowed - HIER_NONE/- text/html
92
-
93
- ```
94
-
95
-
96
-
97
- ### 環境
98
-
99
- 192.168.10.12 =win10
100
-
101
- 192.168.10.201 =debian8.5(squid, nginx)
102
-
103
-
104
-
105
- ### 各バージョン情報
106
-
107
- squid 3.3.14
108
-
109
- nginx 1.13.8
110
-
111
- openssl 1.0.1