aboutsummaryrefslogtreecommitdiff
path: root/nginx.sample.conf
diff options
context:
space:
mode:
authorKana <[email protected]>2018-02-01 00:28:56 -0300
committerGitHub <[email protected]>2018-02-01 00:28:56 -0300
commit48ec9d95595d19ccc0f928a70f66c6c112a24958 (patch)
treea2196aeec10a801f8ec6c0bf8e6c2a78e8acf577 /nginx.sample.conf
parentMerge pull request #68 from BobbyWibowo/master (diff)
parentAdded NGINX SSL Version (diff)
downloadhost.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.conf13
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 / {