diff options
| author | Kana <[email protected]> | 2018-02-01 00:28:56 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-02-01 00:28:56 -0300 |
| commit | 48ec9d95595d19ccc0f928a70f66c6c112a24958 (patch) | |
| tree | a2196aeec10a801f8ec6c0bf8e6c2a78e8acf577 /nginx.sample.conf | |
| parent | Merge pull request #68 from BobbyWibowo/master (diff) | |
| parent | Added NGINX SSL Version (diff) | |
| download | host.fuwn.me-48ec9d95595d19ccc0f928a70f66c6c112a24958.tar.xz host.fuwn.me-48ec9d95595d19ccc0f928a70f66c6c112a24958.zip | |
Merge pull request #69 from RyoshiKayo/master
Added HTTP Version of NGINX sample configuration
Diffstat (limited to 'nginx.sample.conf')
| -rw-r--r-- | nginx.sample.conf | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/nginx.sample.conf b/nginx.sample.conf index c68f40f..71b8855 100644 --- a/nginx.sample.conf +++ b/nginx.sample.conf @@ -1,24 +1,13 @@ upstream backend { - server 127.0.0.1:3000; # Change to the port you specified on lolisafe + server 127.0.0.1:9999; # Change to the port you specified on lolisafe } 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 / { |