1
0
mirror of https://github.com/nokonoko/Uguu.git synced 2024-01-06 13:35:15 +00:00

Update README.md

This commit is contained in:
nokonoko 2020-11-19 02:21:42 +01:00
parent 9f88584e33
commit 3b00fd9cfc

View File

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