diff options
| author | RyoshiKayo <[email protected]> | 2018-01-27 06:16:21 +0100 |
|---|---|---|
| committer | RyoshiKayo <[email protected]> | 2018-01-27 06:16:21 +0100 |
| commit | 465607cd5b6e3cbce152a3df3df633904700a9b8 (patch) | |
| tree | 8a8b58792a202f851aa2d8596fc85b07140af299 /nginx.sample.conf | |
| parent | Merge pull request #65 from vistafan12/master (diff) | |
| download | host.fuwn.me-465607cd5b6e3cbce152a3df3df633904700a9b8.tar.xz host.fuwn.me-465607cd5b6e3cbce152a3df3df633904700a9b8.zip | |
Added HTTP NGINX sample config
Diffstat (limited to 'nginx.sample.conf')
| -rw-r--r-- | nginx.sample.conf | 11 |
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 / { |