Skip to content
Jabis Sevon edited this page Jun 11, 2021 · 3 revisions
server {
  listen 80;
  include /etc/nginx/conf/le-combiworks.conf;
  server_name dletta.rig.airfaas.com;
  return 301 https://dletta.rig.airfaas.com$request_uri$args;
}
server {
   listen 443 ssl http2;
   include /etc/nginx/conf/le-airfaas.conf; # certificate configs
   include /etc/nginx/conf/le-combiworks.conf; # certificate renewal passthrus
   server_name dletta.rig.airfaas.com;
   root /jail/home/dletta/test/node_modules/gun/examples/;
        location /gun {
          rewrite /gun/(.*) /$1 break;
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header Host $host;
          proxy_set_header X-NginX-Proxy true;
          proxy_pass_header Set-Cookie;
          proxy_pass_header P3P;
          proxy_http_version 1.1;
          proxy_set_header Upgrade $http_upgrade;
          proxy_set_header Connection "Upgrade";
          proxy_redirect off;
          proxy_pass http://localhost:8765;
        }

}

Please contribute to this.

This wiki is where all the GUN website documentation comes from.

You can read it here or on the website, but the website has some special features like rendering some markdown extensions to create interactive coding tutorials.

Please feel free to improve the docs itself, we need contributions!

Clone this wiki locally