iuna

iuna - experimental devnet protocol
git clone https://iuna.jhx.app/git/iuna.git
Log | Files | Refs | README | LICENSE

nginx.conf (500B)


      1 server {
      2     listen 80;
      3     server_name _;
      4 
      5     root /usr/share/nginx/html;
      6     index index.html;
      7 
      8     location / {
      9         try_files $uri $uri/ =404;
     10     }
     11 
     12     location = /downloads/latest.json {
     13         add_header Access-Control-Allow-Origin "*" always;
     14         add_header Cache-Control "no-cache" always;
     15         try_files $uri =404;
     16     }
     17 
     18     location /downloads/ {
     19         autoindex on;
     20         try_files $uri $uri/ =404;
     21     }
     22 
     23     location /git/ {
     24         try_files $uri $uri/ =404;
     25     }
     26 }