mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-07 12:21:33 +00:00
Added HTTP NGINX sample config
This commit is contained in:
parent
5db6a92334
commit
465607cd5b
@ -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 / {
|
||||||
|
Loading…
Reference in New Issue
Block a user