server { listen 80; server_name games.gamewheel.local; root /srv/gamewheel.local/games; index index.html index.htm; add_header Access-Control-Allow-Origin "$http_origin"; location / { autoindex on; try_files $uri $uri/ =404; } }