mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-28 04:48:00 +03:00
add: PUT method
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
[[server.location]]
|
||||
location = "*.jpeg"
|
||||
root = "www/images/jpegImg"
|
||||
methods = ["GET"]
|
||||
methods = ["GET", "PUT"]
|
||||
[[server.location]]
|
||||
location = "*.png"
|
||||
root = "www/images/pngImg"
|
||||
@@ -45,7 +45,7 @@
|
||||
[[server.location]]
|
||||
location = "*.php"
|
||||
root = "www/script"
|
||||
methods = ["GET", "POST"]
|
||||
methods = ["GET"]
|
||||
autoindex = false
|
||||
cgi_pass = "/usr/bin/php-cgi"
|
||||
[[server]]
|
||||
|
||||
Reference in New Issue
Block a user