From 465607cd5b6e3cbce152a3df3df633904700a9b8 Mon Sep 17 00:00:00 2001 From: RyoshiKayo Date: Sat, 27 Jan 2018 06:16:21 +0100 Subject: [PATCH] Added HTTP NGINX sample config --- nginx.sample.conf | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/nginx.sample.conf b/nginx.sample.conf index c68f40f..98032f3 100644 --- a/nginx.sample.conf +++ b/nginx.sample.conf @@ -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 / {