Explorar o código

Added HTTP NGINX sample config

RyoshiKayo %!s(int64=6) %!d(string=hai) anos
pai
achega
465607cd5b
Modificáronse 1 ficheiros con 0 adicións e 11 borrados
  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 / {