aboutsummaryrefslogtreecommitdiff
path: root/nginx.sample.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.sample.conf')
-rw-r--r--nginx.sample.conf11
1 files changed, 0 insertions, 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 / {