Added HTTP NGINX sample config

This commit is contained in:
RyoshiKayo 2018-01-27 06:16:21 +01:00
parent 5db6a92334
commit 465607cd5b

View File

@ -5,20 +5,9 @@ upstream backend {
server {
listen 80;
listen [::]:80;
server_name lolisafe.moe;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name lolisafe.moe;
ssl_certificate /path/to/your/fullchain.pem;
ssl_certificate_key /path/to/your/privkey.pem;
ssl_trusted_certificate /path/to/your/fullchain.pem;
client_max_body_size 100M; # Change this to the max file size you want to allow
location / {