|
@@ -5,20 +5,9 @@ upstream backend {
|
|
server {
|
|
server {
|
|
listen 80;
|
|
listen 80;
|
|
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;
|
|
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
|
|
client_max_body_size 100M; # Change this to the max file size you want to allow
|
|
|
|
|
|
location / {
|
|
location / {
|