티스토리 뷰

공부

[Nginx] 405 Not Allowed

승가비 2020. 1. 18. 19:35
728x90
# Located before location / {}
# inner HTTP
# inner HTTPS

server {
	listen       80;
	server_name  localhost;

	error_page  405     =200 $uri;

	location / {}
}

server {
	listen       443;
	server_name  localhost;

	error_page  405     =200 $uri;

	location / {}
}

 

[출처] https://stackoverflow.com/questions/24415376/post-request-not-allowed-405-not-allowed-nginx-even-with-headers-included

728x90

'공부' 카테고리의 다른 글

[Hive] FAILED: ParseException line 1:109 missing EOF at 'as' near ')'  (0) 2020.01.18
[Java] Deep copy Date  (0) 2020.01.18
[Algorithm] Swap by 3 XOR  (0) 2020.01.18
[Oracle] Alter Table  (0) 2020.01.18
[Oracle] Update & Delete by Join Table  (0) 2020.01.18
댓글