16 lines
257 B
Plaintext
16 lines
257 B
Plaintext
|
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;
|
||
|
}
|
||
|
}
|