root /home/neku/www;
}
}
-´´´
+```
Subdomain serving files (do not enable PHP here):
´´´
server{
access_log off;
index index.html;
}
-´´´
+```
To redirect HTTP to HTTPS make a config for each domain like so:
```
server_name www.domain.com domain.com;
return 301 https://domain.com$request_uri;
}
-´´´
+```
## API
To upload using curl or make a tool you can post using: