Changed nginx config to generate random file uuid by default (#149)
* Changed nginx config to generate random file uuid by default * Added nginx version note to setup readme
This commit is contained in:
parent
250bbdf9d8
commit
e33ce33651
|
@ -11,6 +11,9 @@ that we are working with a Debian Buster Minimal system or similar.
|
|||
You may want to fork this repository and add your ssh pubkey to
|
||||
`authorized_keys` and optionally edit the `tmux` and `bash` configurations.
|
||||
|
||||
NOTE: nginx version 1.11.0 or higher is required.
|
||||
If you use the install script below, the correct version should be installed.
|
||||
|
||||
0. SSH in a freshly installed Debian machine.
|
||||
1. `apt-get update && apt-get install sudo`
|
||||
1. `adduser user`
|
||||
|
|
|
@ -20,10 +20,9 @@ server {
|
|||
client_body_timeout 5s;
|
||||
client_header_timeout 5s;
|
||||
|
||||
# Enable the following line if you want to have auto uuid support. This
|
||||
# means users are able to upload Skyfiles without having to provide a uuid
|
||||
# themselves.
|
||||
# rewrite ^/skynet/skyfile/?$ /skynet/skyfile/$request_id$1;
|
||||
# Auto generate a uuid for each file. This means users are able to upload
|
||||
# Skyfiles without having to provide a uuid
|
||||
rewrite ^/skynet/skyfile/?$ /skynet/skyfile/$request_id$1;
|
||||
|
||||
# NOTE: make sure to enable any additional configuration you might need like gzip
|
||||
|
||||
|
|
Reference in New Issue