Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

NGINX Standalone Webserver

$
0
0
I am trying to make NGINX as standalone web server for static content. I am able to achieve download (GET) of files from NGINX. However, I am getting error 301 when I do post and 405 when I tried PUT. Can someone please advise configuration that allows me to upload files using PUT or POST ?

location /static/data {
alias /static-data/;
client_body_temp_path /tmp/;
client_body_in_file_only on;
client_body_buffer_size 128k;
client_max_body_size 100M;
autoindex on;
}

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>