add: PUT method

This commit is contained in:
Talyx
2022-02-09 18:48:12 +03:00
parent cb50c16afc
commit 0103dc97dd
3 changed files with 27 additions and 7 deletions

View File

@@ -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]]