Parcourir la source

Added HTTP NGINX sample config

RyoshiKayo il y a 6 ans
Parent
commit
465607cd5b
1 fichiers modifiés avec 0 ajouts et 11 suppressions
  1. 0 11
      nginx.sample.conf

+ 0 - 11
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 / {