st80

Smalltalk-80 (image Xerox de 1983) dans le navigateur, VM du livre bleu en WebAssembly
git clone https://git.schurger.org/st80.git
Log | Files | Refs | README

st80.schurger.org (1146B)


      1 # https://st80.schurger.org : Smalltalk-80 (image Xerox de 1983) dans le navigateur (fichiers statiques,
      2 # dépôt ~/src/perso/st80 de hotrats, publié par « make deploy »).
      3 # TLS on 8443 behind sslh, like the other vhosts; wildcard certificate.
      4 server {
      5     server_name st80.schurger.org;
      6     listen 8443 ssl;
      7     http2 on;
      8     ssl_certificate /etc/letsencrypt/live/schurger.org/fullchain.pem;
      9     ssl_certificate_key /etc/letsencrypt/live/schurger.org/privkey.pem;
     10     include /etc/letsencrypt/options-ssl-nginx.conf;
     11     ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
     12 
     13     root /var/www/st80.schurger.org;
     14     index index.html;
     15 
     16     types {
     17         text/html html;
     18         text/css css;
     19         text/javascript js mjs;
     20         application/wasm wasm;
     21         application/octet-stream im sources changes;
     22         image/svg+xml svg;
     23         image/png png;
     24     }
     25 
     26     gzip on;
     27     gzip_types text/css text/javascript application/wasm application/octet-stream;
     28 
     29     location / {
     30         try_files $uri $uri/ =404;
     31     }
     32 }
     33 
     34 server {
     35     listen 80;
     36     listen [::]:80;
     37     server_name st80.schurger.org;
     38     return 301 https://$host$request_uri;
     39 }